diff --git a/css/font-awesome.min.css b/css/font-awesome.min.css index 3d920fc87c23..a0f8ae52372d 100644 --- a/css/font-awesome.min.css +++ b/css/font-awesome.min.css @@ -1,4 +1,4 @@ /*! - * Font Awesome 4.1.0 by @davegandy - http://fontawesome.io - @fontawesome + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.1.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.1.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff?v=4.1.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.1.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.1.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:spin 2s infinite linear;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;animation:spin 2s infinite linear}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1)}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-square:before,.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"} \ No newline at end of file + */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} diff --git a/css/google-fonts.css b/css/google-fonts.css new file mode 100644 index 000000000000..b6f1f547b52a --- /dev/null +++ b/css/google-fonts.css @@ -0,0 +1,836 @@ +/* latin */ +@font-face { + font-family: 'Droid Sans Mono'; + font-style: normal; + font-weight: 400; + src: url(../fonts/google/6NUO8FuJNQ2MbkrZ5-J8lKFrp7pRef2rUGIW9g.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/ga6faw1J5X9T9RW6j9bNfFIMZhhWnFTyNZIQD1-_P3Lct_NFiQhhYQ.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/ga6faw1J5X9T9RW6j9bNfFIMZhhWnFTyNZIQD1-_P3vct_NFiQhhYQ.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/ga6faw1J5X9T9RW6j9bNfFIMZhhWnFTyNZIQD1-_P3Pct_NFiQhhYQ.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/ga6faw1J5X9T9RW6j9bNfFIMZhhWnFTyNZIQD1-_P3zct_NFiQhhYQ.woff2) format('woff2'); + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; +} +/* math */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/ga6faw1J5X9T9RW6j9bNfFIMZhhWnFTyNZIQD1-_PwPct_NFiQhhYQ.woff2) format('woff2'); + unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF; +} +/* vietnamese */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/ga6faw1J5X9T9RW6j9bNfFIMZhhWnFTyNZIQD1-_P3Dct_NFiQhhYQ.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/ga6faw1J5X9T9RW6j9bNfFIMZhhWnFTyNZIQD1-_P3Hct_NFiQhhYQ.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/ga6faw1J5X9T9RW6j9bNfFIMZhhWnFTyNZIQD1-_P3_ct_NFiQg.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + font-stretch: 100%; + src: url(../fonts/google/ga6faw1J5X9T9RW6j9bNfFIMZhhWnFTyNZIQD1-_P3Lct_NFiQhhYQ.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + font-stretch: 100%; + src: url(../fonts/google/ga6faw1J5X9T9RW6j9bNfFIMZhhWnFTyNZIQD1-_P3vct_NFiQhhYQ.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + font-stretch: 100%; + src: url(../fonts/google/ga6faw1J5X9T9RW6j9bNfFIMZhhWnFTyNZIQD1-_P3Pct_NFiQhhYQ.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + font-stretch: 100%; + src: url(../fonts/google/ga6faw1J5X9T9RW6j9bNfFIMZhhWnFTyNZIQD1-_P3zct_NFiQhhYQ.woff2) format('woff2'); + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; +} +/* math */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + font-stretch: 100%; + src: url(../fonts/google/ga6faw1J5X9T9RW6j9bNfFIMZhhWnFTyNZIQD1-_PwPct_NFiQhhYQ.woff2) format('woff2'); + unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF; +} +/* vietnamese */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + font-stretch: 100%; + src: url(../fonts/google/ga6faw1J5X9T9RW6j9bNfFIMZhhWnFTyNZIQD1-_P3Dct_NFiQhhYQ.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + font-stretch: 100%; + src: url(../fonts/google/ga6faw1J5X9T9RW6j9bNfFIMZhhWnFTyNZIQD1-_P3Hct_NFiQhhYQ.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Noto Serif'; + font-style: italic; + font-weight: 700; + font-stretch: 100%; + src: url(../fonts/google/ga6faw1J5X9T9RW6j9bNfFIMZhhWnFTyNZIQD1-_P3_ct_NFiQg.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf3D33WsNFHuQk.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf-D33WsNFHuQk.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf2D33WsNFHuQk.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf5D33WsNFHuQk.woff2) format('woff2'); + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; +} +/* math */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYeGD33WsNFHuQk.woff2) format('woff2'); + unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF; +} +/* vietnamese */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf1D33WsNFHuQk.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf0D33WsNFHuQk.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf6D33WsNFH.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + font-stretch: 100%; + src: url(../fonts/google/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf3D33WsNFHuQk.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + font-stretch: 100%; + src: url(../fonts/google/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf-D33WsNFHuQk.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + font-stretch: 100%; + src: url(../fonts/google/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf2D33WsNFHuQk.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + font-stretch: 100%; + src: url(../fonts/google/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf5D33WsNFHuQk.woff2) format('woff2'); + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; +} +/* math */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + font-stretch: 100%; + src: url(../fonts/google/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYeGD33WsNFHuQk.woff2) format('woff2'); + unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF; +} +/* vietnamese */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + font-stretch: 100%; + src: url(../fonts/google/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf1D33WsNFHuQk.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + font-stretch: 100%; + src: url(../fonts/google/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf0D33WsNFHuQk.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Noto Serif'; + font-style: normal; + font-weight: 700; + font-stretch: 100%; + src: url(../fonts/google/ga6daw1J5X9T9RW6j9bNVls-hfgvz8JcMofYTYf6D33WsNFH.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWtE6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWvU6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWtU6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWuk6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; +} +/* hebrew */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWu06FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; +} +/* math */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWxU6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF; +} +/* symbols */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqW106FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF; +} +/* vietnamese */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWtk6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWt06FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWuU6FxZCJgg.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWtE6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWvU6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWtU6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWuk6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; +} +/* hebrew */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWu06FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; +} +/* math */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWxU6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF; +} +/* symbols */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqW106FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF; +} +/* vietnamese */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWtk6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWt06FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWuU6FxZCJgg.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWtE6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWvU6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWtU6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWuk6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; +} +/* hebrew */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWu06FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; +} +/* math */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWxU6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF; +} +/* symbols */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqW106FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF; +} +/* vietnamese */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWtk6FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWt06FxZCJgvAQ.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Open Sans'; + font-style: italic; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWuU6FxZCJgg.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSKmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSumu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSOmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSymu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; +} +/* hebrew */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS2mu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; +} +/* math */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTVOmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF; +} +/* symbols */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTUGmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF; +} +/* vietnamese */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSCmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSGmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 300; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-mu0SC55I.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSKmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSumu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSOmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSymu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; +} +/* hebrew */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS2mu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; +} +/* math */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTVOmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF; +} +/* symbols */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTUGmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF; +} +/* vietnamese */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSCmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSGmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 400; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-mu0SC55I.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +/* cyrillic-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSKmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; +} +/* cyrillic */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSumu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; +} +/* greek-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSOmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+1F00-1FFF; +} +/* greek */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSymu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; +} +/* hebrew */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS2mu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; +} +/* math */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTVOmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF; +} +/* symbols */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTUGmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF; +} +/* vietnamese */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSCmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSGmu0SC55K5gw.woff2) format('woff2'); + unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; +} +/* latin */ +@font-face { + font-family: 'Open Sans'; + font-style: normal; + font-weight: 600; + font-stretch: 100%; + src: url(../fonts/google/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-mu0SC55I.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} diff --git a/css/style.css b/css/style.css index e9f661345bc8..d830348c19ff 100644 --- a/css/style.css +++ b/css/style.css @@ -1 +1 @@ -@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:500,700|Open+Sans:400,600);html,code,kbd,pre,samp{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}html,body{height:100%;-webkit-overflow-scrolling:touch}p,ul,pre,h1,h2,h3,h4,h5,h6,h7,h8{margin:1em 0}p{display:block}h1,h2,h3,h4,h5,h6,h7,h8{font-weight:bold}pre{border-radius:0;border:0;font-size:14px}.navbar{margin-bottom:0;padding-right:110px}.navbar .container{margin:10px}.navbar-default a{color:#fff!important;font-size:18px!important;text-decoration:none}.grails-icon img{width:40px}.navbar-default,.navbar-static-top{background-color:#4d8618;border:0}a.navbar-brand{color:white!important;font-size:19px!important}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{background-color:transparent;color:white}.navbar-nav>li.active>a{color:white!important}.navbar-nav>li>a:hover{background-color:#db4800!important;color:white!important}.navbar-nav>li>a{color:#c0d3db}.navbar-default .navbar-toggle .icon-bar{background-color:white}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#db4800}@media(min-width:768px){.container{width:auto}}@media(max-width:999px){#fork-me{display:none}.navbar{padding-right:0}}#fork-me{position:fixed;padding:0 50px 0 50px;top:40px;right:-60px;background-color:#a60000;color:#fff;font-size:1em;z-index:100;transform:rotate(+45deg);text-align:center;font-weight:bolder;border:#c14646;border-style:dashed;border-width:1px}#fork-me p{margin:0}#band{background:#79b94c no-repeat 50% 30%;height:300px}.svg #band{background-image:url(../img/grails-cupsonly-logo-white.svg);background-size:50%}.no-svg #band{background-image:url(../img/groovy-logo-white.png)}@media(max-width:1010px){#band{background-size:90%;height:300px}}@media(max-width:690px){#band{background-size:80%;height:200px}}@media(max-width:475px){#band{background-size:70%;height:100px}}#they-use-groovy{width:100%;background-color:#db4800;margin-bottom:20px;text-align:center}#they-use-groovy .item{text-align:center;color:white}#logos-holder{display:inline-block;padding:0;margin:0;text-align:center}#logos-holder .logo{padding:0;margin:0;display:inline-block;width:105px;height:87px;background-size:95%;background-repeat:no-repeat;background-position:50% 50%}@media(min-width:330px){#logos-holder{width:320px}}@media(min-width:475px){#logos-holder{width:420px}}@media(min-width:690px){#logos-holder{width:630px}}@media(min-width:1010px){#logos-holder{width:940px}}.centered{text-align:center}.event-img{margin:-20px -20px 20px -20px;background-repeat:no-repeat;background-position:50% top;height:180px}.event-logo{height:180px;float:right}@media(max-width:1010px){.event-logo{height:}}@media(max-width:690px){.event-logo{height:60px}}@media(max-width:475px){.event-logo{display:none}}article .content time{font-weight:bold}.doc-embed{border:0;width:100%;min-height:100%}.download-table{width:100%;text-align:center}.download-table td{width:20%}#mc-embedded-subscribe{width:200px;font-weight:bold}#mc-embedded-subscribe:hover{background-color:#f2f2f2;font-weight:bold}#footer .colset-3-footer .col-1 h1,#footer .colset-3-footer .col-2 h1,#footer .colset-3-footer .col-3 h1{font-size:15px!important}.anchor-link:before{content:' # ';color:lightgray}.anchor-link:hover:before{color:orange}code,kbd,pre,samp{font-family:"Source Code Pro","Consolas","Monaco","Bitstream Vera Sans Mono","Courier New",Courier,monospace}#contribute-btn{position:absolute;right:15px}@media(max-width:767px){#contribute-btn{width:100%;position:relative;margin-top:30px;right:0}#contribute-btn button{width:100%;right:15px}}@media(min-width:1200px){#contribute-btn{top:25px;right:15px}}#big-download-button{float:right;font-size:30px;padding:15px;margin:10px 0 10px 20px;border:2px solid #db4800;border-radius:6px;background-color:#db4800;color:white}#big-download-button:hover{background-color:#e6e6e6;color:#db4800}.colset-3-footer .col-1,.colset-3-footer .col-2,.colset-3-footer .col-3{min-width:180px;float:left}.colset-3-footer .col-3{min-width:220px}.colset-3-article article{float:left}.col1,.col2{min-width:300px;float:left}@media(max-width:988px){.col1,.col2{width:98%!important;max-width:98%}.colset-3-article article{width:98%!important;max-width:98%}}body,html{font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;padding:0;margin:0;background:#FFF;color:#343437;line-height:25px;font-weight:normal;font-size:14px}a{color:#db4800;text-decoration:underline}a:hover{color:#db4800;text-decoration:none}h1{font-size:2.125em;margin:.67em 0}h2{font-size:1.6875em;font-weight:bold}h3,#toctitle,.sidebarblock>.content>.title{font-size:1.375em;font-weight:bold}h4{font-size:1.125em;font-weight:bold}h5{font-size:1.125em;font-weight:bold;color:#db4800}h6{font-size:1.08em;font-weight:normal;color:#db4800}h7{font-weight:bold;color:#245f78}h8{color:#245f78}#footer{background:#f2f2f2;text-align:center;font-size:14px;padding:20px 0 30px;margin-top:30px;color:#AAA}#footer .col-right{float:right;width:300px;text-align:right;padding-top:10px}#footer .colset-3-footer{color:#222;font-size:14px}#footer .colset-3-footer:before,#footer .colset-3-footer:after{content:" ";display:table}#footer .colset-3-footer:after{clear:both}#footer .colset-3-footer .col-1,#footer .colset-3-footer .col-2,#footer .colset-3-footer .col-3{width:18%;padding:20px 0 30px;padding-right:3%;float:left;text-align:left}#footer .colset-3-footer .col-3{width:24%}#footer .colset-3-footer .col-1 h1,#footer .colset-3-footer .col-2 h1,#footer .colset-3-footer .col-3 h1{font-weight:600;font-size:15px;line-height:30px;margin:0}#footer .colset-3-footer .col-1 ul,#footer .colset-3-footer .col-2 ul,#footer .colset-3-footer .col-3 ul{list-style-type:none;margin:0;padding:0}#footer .colset-3-footer .col-1 ul li,#footer .colset-3-footer .col-2 ul li,#footer .colset-3-footer .col-3 ul li{margin:0;padding:0}#footer .colset-3-footer .col-1 ul li a,#footer .colset-3-footer .col-2 ul li a,#footer .colset-3-footer .col-3 ul li a{color:#343437;text-decoration:none}#footer .colset-3-footer .col-1 ul li a:hover,#footer .colset-3-footer .col-2 ul li a:hover,#footer .colset-3-footer .col-3 ul li a:hover{text-decoration:underline}#footer .second a{color:#db4800}.row{position:relative;max-width:1400px;margin:0 auto;padding:0 5%}.row:before,.row:after{content:" ";display:table}.row:after{clear:both}.band{background:#4298b8;height:300px;margin-bottom:20px;color:white}.band .item{text-align:center}.band .item:before,.band .item:after{content:" ";display:table}.band .item:after{clear:both}#content{background:white}#content .row:before,#content .row:after{content:" ";display:table}#content .row:after{clear:both}#content .row>h1{font-size:34px;line-height:40px;font-weight:200;text-align:center;margin:0;padding:20px 0}#content hr.row,#content hr.divider{border:0 none;border-top:1px solid #EEE;margin:0 5%;margin-top:40px}#content hr.divider{margin:0;margin-top:40px;margin-bottom:30px}#content .colset-2-its:before,#content .colset-2-its:after{content:" ";display:table}#content .colset-2-its:after{clear:both}#content .colset-2-its>h2{padding-bottom:15px;margin-top:15px;margin-bottom:0;text-align:center}#content .colset-2-its>p{margin-top:0;padding-bottom:5px;text-align:center;color:#222;font-size:15px}#content .colset-2-its .col1,#content .colset-2-its .col2{float:left;width:48%;padding-right:1%;padding-left:1%}#content .colset-2-its .col2{padding-left:1%;padding-right:1%}#content .colset-2-its article{padding:10px 0}#content .colset-2-its article:before,#content .colset-2-its article:after{content:" ";display:table}#content .colset-2-its article:after{clear:both}#content .colset-2-its article .icon{display:block;width:80px;height:80px;background-image:url(../img/icons-colset-2-its.png);float:left;margin-top:12px;margin-right:15px}#content .colset-2-its article .icon.icon-1{background-position:0 0}#content .colset-2-its article .icon.icon-2{background-position:0 -80px}#content .colset-2-its article .icon.icon-3{background-position:0 -160px}#content .colset-2-its article .icon.icon-4{background-position:0 -240px}#content .colset-2-its article .icon.icon-5{background-position:0 -320px}#content .colset-2-its article .icon.icon-6{background-position:0 -400px}#content .colset-2-its article>h1{font-size:19px;font-weight:600;margin-bottom:0;line-height:30px}#content .colset-2-its article p{margin:0;line-height:24px;font-size:14px}#content .first-event-row{padding-top:30px}#content .last-event-row{padding-bottom:30px}#content .colset-3-article>h1{font-size:24px}#content .colset-3-article div.content{padding:20px;padding-bottom:5px}#content .colset-3-article article{float:left;width:29%;margin:10px 2%;-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1);box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1)}#content .colset-3-article article .img{margin:-20px -20px 20px -20px;background-position:center top;height:180px}#content .colset-3-article article h1{margin:0;font-size:18px;font-weight:normal;line-height:25px}#content .colset-3-article article h1 a{color:#343437;cursor:pointer}#content .colset-3-article article h1 a:hover{color:#46a5c8}#content .colset-3-article article p,#content .colset-3-article article time{font-size:13px}#content .colset-3-article article .author a{color:#db4800}#content .colset-3-article article:first-child{padding-left:0}#content .colset-3-article article:last-child{padding-right:0}#content.page-1 .row{padding-top:10px;padding-bottom:10px}#content.page-1 .row h1{text-align:left;font-size:36px}#content.page-1 .row article{font-size:14px}#content.page-1 .row article .desc{font-size:16px}#content.page-1 .row article h1{margin:0;paddnig:0;text-align:left;font-size:26px}#content.page-1 .row article h2{margin:0;paddnig:0}#content.page-1 .row article h3{font-weight:bold}#content.page-1 .row article pre{display:block;background:#f2f2f2;padding:12px 20px}ul.nav-sidebar{margin:0;margin-top:20px;padding:5px 0;border:1px solid #EEE;list-style-type:none}ul.nav-sidebar li a{display:block;cursor:pointer;padding:5px 10px;font-weight:400;text-decoration:none;color:#343437}ul.nav-sidebar li.active a:hover,ul.nav-sidebar li a:hover{color:white;background-color:#db4800}ul.nav-sidebar li.active a{background-color:#f2f2f2}.table{margin:20px 0}.table thead tr th{padding:10px;font-weight:normal;font-size:18px}.table tbody tr td{vertical-align:top;font-size:12px;padding:10px;border-top:1px solid #EEE}*,*:after,*::before{-moz-box-sizing:border-box;box-sizing:border-box}body{background:#444}html.noScroll{overflow:hidden}html.noScroll body,html.noScroll .st-container,html.noScroll .st-pusher,html.noScroll .st-content{overflow:hidden}html,body,.st-container,.st-pusher,.st-content{overflow:auto}.sign-in-fa-icon:before{font-family:FontAwesome;content:'\f090';padding-right:10px}#st-container{height:100%}.st-content{background:white}.st-content,.st-content-inner{position:relative;height:100%}.st-container{position:relative;overflow:hidden}.st-pusher{position:relative;left:0;z-index:99;height:100%;-webkit-transition:-webkit-transform .5s;transition:transform .5s}.st-pusher::after{position:absolute;top:0;right:0;width:0;height:0;background:rgba(0,0,0,0.3);content:'';opacity:0;-webkit-transition:opacity .5s,width .1s .5s,height .1s .5s;transition:opacity .5s,width .1s .5s,height .1s .5s}.st-menu-open .st-pusher::after{width:100%;height:100%;opacity:1;-webkit-transition:opacity .5s;transition:opacity .5s}.st-menu{position:fixed;top:0;left:auto;z-index:100;visibility:hidden;width:300px;height:100%;background:#79b94c;-webkit-transition:all .5s;transition:all .5s;right:-600px}.st-menu::after{position:absolute;top:0;right:0;width:100%;height:100%;background:rgba(0,0,0,0.2);content:'';opacity:1;-webkit-transition:opacity .5s;transition:opacity .5s}.st-menu-open .st-menu::after{width:0;height:0;opacity:0;-webkit-transition:opacity .5s,width .1s .5s,height .1s .5s;transition:opacity .5s,width .1s .5s,height .1s .5s}.st-menu ul{margin:0;padding:0;list-style:none}.st-menu h2{margin:0;padding:1em;color:white;text-shadow:0 0 1px rgba(0,0,0,0.1);font-weight:300;font-size:2em}.st-menu ul li{display:block}.st-menu ul li a{display:block;position:relative;padding:1em 1em 1em 45px;outline:0;box-shadow:inset 0 -1px rgba(0,0,0,0.2);color:#f3efe0;text-shadow:0 0 1px rgba(255,255,255,0.1);letter-spacing:1px;font-weight:400;text-decoration:none}.st-menu ul li a span.fa{display:block;position:absolute;left:12px;top:17px;font-size:20px;width:30px;text-align:center}.st-menu ul li a span.fa.fa-tasks,.st-menu ul li a span.fa.fa-envelope{top:18px;font-size:18px}.st-menu ul li:first-child a{box-shadow:inset 0 -1px rgba(0,0,0,0.2),inset 0 1px rgba(0,0,0,0.2)}.st-menu ul li a:hover{background:rgba(0,0,0,0.2);box-shadow:inset 0 -1px rgba(0,0,0,0);color:#fff}.st-effect-9.st-container{-webkit-perspective:10000px;perspective:10000px}.st-effect-9 .st-pusher{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.st-effect-9.st-menu-open .st-pusher{-webkit-transform:translate3d(0,0,-300px);transform:translate3d(0,0,-300px)}.st-effect-9.st-menu{right:-600px;opacity:1;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.st-effect-9.st-menu-open .st-effect-9.st-menu{visibility:visible;right:-300px}.st-effect-9.st-menu::after{display:none}.presentations{margin-top:30px;margin-bottom:30px}.presentations img.screenshot{float:left;margin-right:40px;margin-top:1em;margin-bottom:0;width:300px;height:auto}.presentations .metadata{display:table-cell;min-width:328px}.presentations .title{margin-top:1em!important;margin-bottom:.5em!important}.presentations .speaker{color:#245f78;margin-bottom:.5em}.presentations .summary{line-height:1.3}.course{margin:25px auto 25px}@media screen and (max-width:767px){.presentations .img.screenshot,.video .metadata{float:none}} \ No newline at end of file +@import url(/css/google-fonts.css);html,code,kbd,pre,samp{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}html,body{height:100%;-webkit-overflow-scrolling:touch}p,ul,pre,h1,h2,h3,h4,h5,h6,h7,h8{margin:1em 0}p{display:block}h1,h2,h3,h4,h5,h6,h7,h8{font-weight:bold}pre{border-radius:0;border:0;font-size:14px}.navbar{margin-bottom:0;padding-right:110px}.navbar .container{margin:10px}.navbar-default a{color:#fff!important;font-size:18px!important;text-decoration:none}.grails-icon img{width:40px}.navbar-default,.navbar-static-top{background-color:#4d8618;border:0}a.navbar-brand{color:white!important;font-size:19px!important}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{background-color:transparent;color:white}.navbar-nav>li.active>a{color:white!important}.navbar-nav>li>a:hover{background-color:#db4800!important;color:white!important}.navbar-nav>li>a{color:#c0d3db}.navbar-default .navbar-toggle .icon-bar{background-color:white}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#db4800}@media(min-width:768px){.container{width:auto}}@media(max-width:999px){#fork-me{display:none}.navbar{padding-right:0}}#fork-me{position:fixed;padding:0 50px 0 50px;top:40px;right:-60px;background-color:#a60000;color:#fff;font-size:1em;z-index:100;transform:rotate(+45deg);text-align:center;font-weight:bolder;border:#c14646;border-style:dashed;border-width:1px}#fork-me p{margin:0}#band{background:#79b94c no-repeat 50% 30%;height:300px}.svg #band{background-image:url(../img/grails-cupsonly-logo-white.svg);background-size:50%}.no-svg #band{background-image:url(../img/groovy-logo-white.png)}@media(max-width:1010px){#band{background-size:90%;height:300px}}@media(max-width:690px){#band{background-size:80%;height:200px}}@media(max-width:475px){#band{background-size:70%;height:100px}}#they-use-groovy{width:100%;background-color:#db4800;margin-bottom:20px;text-align:center}#they-use-groovy .item{text-align:center;color:white}#logos-holder{display:inline-block;padding:0;margin:0;text-align:center}#logos-holder .logo{padding:0;margin:0;display:inline-block;width:105px;height:87px;background-size:95%;background-repeat:no-repeat;background-position:50% 50%}@media(min-width:330px){#logos-holder{width:320px}}@media(min-width:475px){#logos-holder{width:420px}}@media(min-width:690px){#logos-holder{width:630px}}@media(min-width:1010px){#logos-holder{width:940px}}.centered{text-align:center}.event-img{margin:-20px -20px 20px -20px;background-repeat:no-repeat;background-position:50% top;height:180px}.event-logo{height:180px;float:right}@media(max-width:1010px){.event-logo{height:}}@media(max-width:690px){.event-logo{height:60px}}@media(max-width:475px){.event-logo{display:none}}article .content time{font-weight:bold}.doc-embed{border:0;width:100%;min-height:100%}.download-table{width:100%;text-align:center}.download-table td{width:20%}#mc-embedded-subscribe{width:200px;font-weight:bold}#mc-embedded-subscribe:hover{background-color:#f2f2f2;font-weight:bold}#footer .colset-3-footer .col-1 h1,#footer .colset-3-footer .col-2 h1,#footer .colset-3-footer .col-3 h1{font-size:15px!important}.anchor-link:before{content:' # ';color:lightgray}.anchor-link:hover:before{color:orange}code,kbd,pre,samp{font-family:"Source Code Pro","Consolas","Monaco","Bitstream Vera Sans Mono","Courier New",Courier,monospace}#contribute-btn{position:absolute;right:15px}@media(max-width:767px){#contribute-btn{width:100%;position:relative;margin-top:30px;right:0}#contribute-btn button{width:100%;right:15px}}@media(min-width:1200px){#contribute-btn{top:25px;right:15px}}#big-download-button{float:right;font-size:30px;padding:15px;margin:10px 0 10px 20px;border:2px solid #db4800;border-radius:6px;background-color:#db4800;color:white}#big-download-button:hover{background-color:#e6e6e6;color:#db4800}.colset-3-footer .col-1,.colset-3-footer .col-2,.colset-3-footer .col-3{min-width:180px;float:left}.colset-3-footer .col-3{min-width:220px}.colset-3-article article{float:left}.col1,.col2{min-width:300px;float:left}@media(max-width:988px){.col1,.col2{width:98%!important;max-width:98%}.colset-3-article article{width:98%!important;max-width:98%}}body,html{font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;padding:0;margin:0;background:#FFF;color:#343437;line-height:25px;font-weight:normal;font-size:14px}a{color:#db4800;text-decoration:underline}a:hover{color:#db4800;text-decoration:none}h1{font-size:2.125em;margin:.67em 0}h2{font-size:1.6875em;font-weight:bold}h3,#toctitle,.sidebarblock>.content>.title{font-size:1.375em;font-weight:bold}h4{font-size:1.125em;font-weight:bold}h5{font-size:1.125em;font-weight:bold;color:#db4800}h6{font-size:1.08em;font-weight:normal;color:#db4800}h7{font-weight:bold;color:#245f78}h8{color:#245f78}#footer{background:#f2f2f2;text-align:center;font-size:14px;padding:20px 0 30px;margin-top:30px;color:#AAA}#footer .col-right{float:right;width:300px;text-align:right;padding-top:10px}#footer .colset-3-footer{color:#222;font-size:14px}#footer .colset-3-footer:before,#footer .colset-3-footer:after{content:" ";display:table}#footer .colset-3-footer:after{clear:both}#footer .colset-3-footer .col-1,#footer .colset-3-footer .col-2,#footer .colset-3-footer .col-3{width:18%;padding:20px 0 30px;padding-right:3%;float:left;text-align:left}#footer .colset-3-footer .col-3{width:24%}#footer .colset-3-footer .col-1 h1,#footer .colset-3-footer .col-2 h1,#footer .colset-3-footer .col-3 h1{font-weight:600;font-size:15px;line-height:30px;margin:0}#footer .colset-3-footer .col-1 ul,#footer .colset-3-footer .col-2 ul,#footer .colset-3-footer .col-3 ul{list-style-type:none;margin:0;padding:0}#footer .colset-3-footer .col-1 ul li,#footer .colset-3-footer .col-2 ul li,#footer .colset-3-footer .col-3 ul li{margin:0;padding:0}#footer .colset-3-footer .col-1 ul li a,#footer .colset-3-footer .col-2 ul li a,#footer .colset-3-footer .col-3 ul li a{color:#343437;text-decoration:none}#footer .colset-3-footer .col-1 ul li a:hover,#footer .colset-3-footer .col-2 ul li a:hover,#footer .colset-3-footer .col-3 ul li a:hover{text-decoration:underline}#footer .second a{color:#db4800}.row{position:relative;max-width:1400px;margin:0 auto;padding:0 5%}.row:before,.row:after{content:" ";display:table}.row:after{clear:both}.band{background:#4298b8;height:300px;margin-bottom:20px;color:white}.band .item{text-align:center}.band .item:before,.band .item:after{content:" ";display:table}.band .item:after{clear:both}#content{background:white}#content .row:before,#content .row:after{content:" ";display:table}#content .row:after{clear:both}#content .row>h1{font-size:34px;line-height:40px;font-weight:200;text-align:center;margin:0;padding:20px 0}#content hr.row,#content hr.divider{border:0 none;border-top:1px solid #EEE;margin:0 5%;margin-top:40px}#content hr.divider{margin:0;margin-top:40px;margin-bottom:30px}#content .colset-2-its:before,#content .colset-2-its:after{content:" ";display:table}#content .colset-2-its:after{clear:both}#content .colset-2-its>h2{padding-bottom:15px;margin-top:15px;margin-bottom:0;text-align:center}#content .colset-2-its>p{margin-top:0;padding-bottom:5px;text-align:center;color:#222;font-size:15px}#content .colset-2-its .col1,#content .colset-2-its .col2{float:left;width:48%;padding-right:1%;padding-left:1%}#content .colset-2-its .col2{padding-left:1%;padding-right:1%}#content .colset-2-its article{padding:10px 0}#content .colset-2-its article:before,#content .colset-2-its article:after{content:" ";display:table}#content .colset-2-its article:after{clear:both}#content .colset-2-its article .icon{display:block;width:80px;height:80px;background-image:url(../img/icons-colset-2-its.png);float:left;margin-top:12px;margin-right:15px}#content .colset-2-its article .icon.icon-1{background-position:0 0}#content .colset-2-its article .icon.icon-2{background-position:0 -80px}#content .colset-2-its article .icon.icon-3{background-position:0 -160px}#content .colset-2-its article .icon.icon-4{background-position:0 -240px}#content .colset-2-its article .icon.icon-5{background-position:0 -320px}#content .colset-2-its article .icon.icon-6{background-position:0 -400px}#content .colset-2-its article>h1{font-size:19px;font-weight:600;margin-bottom:0;line-height:30px}#content .colset-2-its article p{margin:0;line-height:24px;font-size:14px}#content .first-event-row{padding-top:30px}#content .last-event-row{padding-bottom:30px}#content .colset-3-article>h1{font-size:24px}#content .colset-3-article div.content{padding:20px;padding-bottom:5px}#content .colset-3-article article{float:left;width:29%;margin:10px 2%;-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1);box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1)}#content .colset-3-article article .img{margin:-20px -20px 20px -20px;background-position:center top;height:180px}#content .colset-3-article article h1{margin:0;font-size:18px;font-weight:normal;line-height:25px}#content .colset-3-article article h1 a{color:#343437;cursor:pointer}#content .colset-3-article article h1 a:hover{color:#46a5c8}#content .colset-3-article article p,#content .colset-3-article article time{font-size:13px}#content .colset-3-article article .author a{color:#db4800}#content .colset-3-article article:first-child{padding-left:0}#content .colset-3-article article:last-child{padding-right:0}#content.page-1 .row{padding-top:10px;padding-bottom:10px}#content.page-1 .row h1{text-align:left;font-size:36px}#content.page-1 .row article{font-size:14px}#content.page-1 .row article .desc{font-size:16px}#content.page-1 .row article h1{margin:0;paddnig:0;text-align:left;font-size:26px}#content.page-1 .row article h2{margin:0;paddnig:0}#content.page-1 .row article h3{font-weight:bold}#content.page-1 .row article pre{display:block;background:#f2f2f2;padding:12px 20px}ul.nav-sidebar{margin:0;margin-top:20px;padding:5px 0;border:1px solid #EEE;list-style-type:none}ul.nav-sidebar li a{display:block;cursor:pointer;padding:5px 10px;font-weight:400;text-decoration:none;color:#343437}ul.nav-sidebar li.active a:hover,ul.nav-sidebar li a:hover{color:white;background-color:#db4800}ul.nav-sidebar li.active a{background-color:#f2f2f2}.table{margin:20px 0}.table thead tr th{padding:10px;font-weight:normal;font-size:18px}.table tbody tr td{vertical-align:top;font-size:12px;padding:10px;border-top:1px solid #EEE}*,*:after,*::before{-moz-box-sizing:border-box;box-sizing:border-box}body{background:#444}html.noScroll{overflow:hidden}html.noScroll body,html.noScroll .st-container,html.noScroll .st-pusher,html.noScroll .st-content{overflow:hidden}html,body,.st-container,.st-pusher,.st-content{overflow:auto}.sign-in-fa-icon:before{font-family:FontAwesome;content:'\f090';padding-right:10px}#st-container{height:100%}.st-content{background:white}.st-content,.st-content-inner{position:relative;height:100%}.st-container{position:relative;overflow:hidden}.st-pusher{position:relative;left:0;z-index:99;height:100%;-webkit-transition:-webkit-transform .5s;transition:transform .5s}.st-pusher::after{position:absolute;top:0;right:0;width:0;height:0;background:rgba(0,0,0,0.3);content:'';opacity:0;-webkit-transition:opacity .5s,width .1s .5s,height .1s .5s;transition:opacity .5s,width .1s .5s,height .1s .5s}.st-menu-open .st-pusher::after{width:100%;height:100%;opacity:1;-webkit-transition:opacity .5s;transition:opacity .5s}.st-menu{position:fixed;top:0;left:auto;z-index:100;visibility:hidden;width:300px;height:100%;background:#79b94c;-webkit-transition:all .5s;transition:all .5s;right:-600px}.st-menu::after{position:absolute;top:0;right:0;width:100%;height:100%;background:rgba(0,0,0,0.2);content:'';opacity:1;-webkit-transition:opacity .5s;transition:opacity .5s}.st-menu-open .st-menu::after{width:0;height:0;opacity:0;-webkit-transition:opacity .5s,width .1s .5s,height .1s .5s;transition:opacity .5s,width .1s .5s,height .1s .5s}.st-menu ul{margin:0;padding:0;list-style:none}.st-menu h2{margin:0;padding:1em;color:white;text-shadow:0 0 1px rgba(0,0,0,0.1);font-weight:300;font-size:2em}.st-menu ul li{display:block}.st-menu ul li a{display:block;position:relative;padding:1em 1em 1em 45px;outline:0;box-shadow:inset 0 -1px rgba(0,0,0,0.2);color:#f3efe0;text-shadow:0 0 1px rgba(255,255,255,0.1);letter-spacing:1px;font-weight:400;text-decoration:none}.st-menu ul li a span.fa{display:block;position:absolute;left:12px;top:17px;font-size:20px;width:30px;text-align:center}.st-menu ul li a span.fa.fa-tasks,.st-menu ul li a span.fa.fa-envelope{top:18px;font-size:18px}.st-menu ul li:first-child a{box-shadow:inset 0 -1px rgba(0,0,0,0.2),inset 0 1px rgba(0,0,0,0.2)}.st-menu ul li a:hover{background:rgba(0,0,0,0.2);box-shadow:inset 0 -1px rgba(0,0,0,0);color:#fff}.st-effect-9.st-container{-webkit-perspective:10000px;perspective:10000px}.st-effect-9 .st-pusher{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.st-effect-9.st-menu-open .st-pusher{-webkit-transform:translate3d(0,0,-300px);transform:translate3d(0,0,-300px)}.st-effect-9.st-menu{right:-600px;opacity:1;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.st-effect-9.st-menu-open .st-effect-9.st-menu{visibility:visible;right:-300px}.st-effect-9.st-menu::after{display:none}.presentations{margin-top:30px;margin-bottom:30px}.presentations img.screenshot{float:left;margin-right:40px;margin-top:1em;margin-bottom:0;width:300px;height:auto}.presentations .metadata{display:table-cell;min-width:328px}.presentations .title{margin-top:1em!important;margin-bottom:.5em!important}.presentations .speaker{color:#245f78;margin-bottom:.5em}.presentations .summary{line-height:1.3}.course{margin:25px auto 25px}@media screen and (max-width:767px){.presentations .img.screenshot,.video .metadata{float:none}} \ No newline at end of file diff --git a/docs-legacy-database-migration/5.0.x/api/deprecated-list.html b/docs-legacy-database-migration/5.0.x/api/deprecated-list.html new file mode 100644 index 000000000000..6d06f5f253ce --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/deprecated-list.html @@ -0,0 +1,106 @@ + + + + + + + + Deprecated API (database-migration 5.0.0 API) + + + + + + + + + + +
+ + + + + +
+ + +
+

Deprecated API

+

Contents

+ +
+
+ + +
+ +
+ + + + + +
+ + + + + diff --git a/docs-legacy-database-migration/5.0.x/api/groovy.ico b/docs-legacy-database-migration/5.0.x/api/groovy.ico new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/docs-legacy-database-migration/5.0.x/api/help-doc.html b/docs-legacy-database-migration/5.0.x/api/help-doc.html new file mode 100644 index 000000000000..750820893654 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/help-doc.html @@ -0,0 +1,196 @@ + + + + + + + + + API Help (database-migration 5.0.0 API) + + + + + + + + + +
+ + + + + +
+ + + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ + This help file applies to API documentation generated using the standard doclet.
+ +
+ + + + + +
+ + + + diff --git a/docs-legacy-database-migration/5.0.x/api/index-all.html b/docs-legacy-database-migration/5.0.x/api/index-all.html new file mode 100644 index 000000000000..088f1d5bb342 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index-all.html @@ -0,0 +1,833 @@ + + + + + + + + Index (database-migration 5.0.0 API) + + + + + + + + +
+ + + + + +
+ + +
+ +A + +B + +C + +D + +E + +F + +G + +H + +I + +J + +K + +L + +M + +N + +O + +P + +Q + +R + +S + +T + +U + +V + +W + +X + +Y + +Z + +_ + + + + +

A

+
+ +
allStatements - Property in GroovyChange +
+
append(liquibase.changelog.ChangeSet, java.io.File) - Method in GroovyChangeLogSerializer +
+
appendAttrs(java.lang.StringBuilder, groovy.util.Node, java.lang.String) - Method in ChangelogXml2Groovy +
+
appendToChangeLog(java.io.File, java.io.File) - Method in DatabaseMigrationCommand +
+
appendWithIndent(int, java.lang.StringBuilder, java.lang.String) - Method in ChangelogXml2Groovy +
+
applicationContext - Property in ApplicationContextDatabaseMigrationCommand +
+
applicationContext - Property in DatabaseChangeLogBuilder +
+
applicationContext - Property in DatabaseMigrationTransactionManager +
+
applicationContext - Property in GroovyChangeLogParser +
+
ApplicationContextDatabaseMigrationCommand - Trait in org.grails.plugins.databasemigration.command +
+
author - Property in DatabaseMigrationGrailsPlugin +
+
authorEmail - Property in DatabaseMigrationGrailsPlugin +
+
+ + + +

B

+
+ +
+ + + +

C

+
+ +
changeClosure - Property in GroovyChange +
+
changeClosureCalled - Property in GroovyChange +
+
changeLog - Property in GroovyPrecondition +
+
ChangelogXml2Groovy - Class in org.grails.plugins.databasemigration.liquibase +
Generates a Groovy DSL version of a Liquibase XML changelog.
+
ChangelogXml2Groovy() - Constructor in ChangelogXml2Groovy +
+
changeSet - Property in GroovyPrecondition +
+
check(liquibase.database.Database, liquibase.changelog.DatabaseChangeLog, liquibase.changelog.ChangeSet, liquibase.changelog.visitor.ChangeExecListener) - Method in GroovyPrecondition +
+
checkClosure - Property in GroovyPrecondition +
+
checksumString - Property in GroovyChange +
+
closeResources(java.sql.Connection) - Method in GroovyChange.1 +
+
closeResources(java.sql.Connection) - Method in GroovyPrecondition.1 +
+
COMMAND_NAME - Field in GroovyDiffToChangeLogCommandStep +
+
COMMAND_NAME - Field in GroovyGenerateChangeLogCommandStep +
+
commandLine - Property in DatabaseMigrationCommand +
+
config - Property in GroovyChangeLogParser +
+
CONFIG_MAIN_PREFIX - Property in DatabaseMigrationGrailsPlugin +
+
config - Property in ScriptDatabaseMigrationCommand +
+
configureDatabase(liquibase.database.Database) - Method in DatabaseMigrationCommand +
+
configureLiquibase() - Method in ApplicationContextDatabaseMigrationCommand +
+
configureLiquibase() - Method in ScriptDatabaseMigrationCommand +
+
configureSources(org.hibernate.boot.MetadataSources) - Method in GormDatabase +
+
confirm(java.lang.String) - Method in GroovyChange +
Called by the change or rollback closure.
+
confirmationMessage - Property in GroovyChange +
+
connection - Property in GormDatabase +
+
contexts - Property in DatabaseMigrationCommand +
+
convert(java.lang.String) - Method in ChangelogXml2Groovy +
Convert a Liquibase XML changelog to Groovy DSL format.
+
convertNode(groovy.util.Node, java.lang.StringBuilder, int) - Method in ChangelogXml2Groovy +
+
createDatabase(java.lang.String, java.lang.String, Map<String, String>) - Method in DatabaseMigrationCommand +
+
createDatabase(java.sql.Connection, liquibase.resource.ResourceAccessor) - Method in GrailsLiquibase +
+
createDatabaseSnapshot(java.lang.String) - Method in GroovyPrecondition +
Called from the check closure.
+
createLiquibase(java.sql.Connection) - Method in GrailsLiquibase +
+
createNode(java.lang.Object, java.util.Map, java.lang.Object) - Method in DatabaseChangeLogBuilder +
+
createResourceAccessor() - Method in DatabaseMigrationCommand +
+
ctx - Property in GroovyChange +
+
ctx - Property in GroovyPrecondition +
+
+ + + +

D

+
+ +
DATA_SOURCE_NAME_KEY - Property in PluginConstants +
+
database - Property in GroovyChange +
+
database - Property in GroovyPrecondition +
+
database - Field in NoopVisitor +
+
DatabaseChangeLogBuilder - Class in org.grails.plugins.databasemigration.liquibase +
+
DatabaseChangeLogBuilder() - Constructor in DatabaseChangeLogBuilder +
+
databaseChangeLogLockTableName - Property in GrailsLiquibase +
+
databaseChangeLogTableName - Property in GrailsLiquibase +
+
DatabaseMigrationCommand - Trait in org.grails.plugins.databasemigration.command +
+
DatabaseMigrationException - Class in org.grails.plugins.databasemigration +
+
DatabaseMigrationException() - Constructor in DatabaseMigrationException +
+
DatabaseMigrationGrailsPlugin - Class in org.grails.plugins.databasemigration +
+
DatabaseMigrationGrailsPlugin() - Constructor in DatabaseMigrationGrailsPlugin +
+
DatabaseMigrationTransactionManager - Class in org.grails.plugins.databasemigration +
Created by Jim on 7/15/2016.
+
DatabaseMigrationTransactionManager(org.springframework.context.ApplicationContext, java.lang.String) - Constructor in DatabaseMigrationTransactionManager +
+
dataSource - Property in DatabaseMigrationCommand +
+
dataSource - Property in DatabaseMigrationTransactionManager +
+
dataSourceName - Property in DatabaseChangeLogBuilder +
+
dataSourceName - Property in GrailsLiquibase +
+
dataSourceName - Property in GroovyChange +
+
DbmChangelogToGroovy - Class in org.grails.plugins.databasemigration.command +
+
DbmChangelogToGroovy() - Constructor in DbmChangelogToGroovy +
+
DbmCreateChangelog - Class in org.grails.plugins.databasemigration.command +
+
DbmCreateChangelog() - Constructor in DbmCreateChangelog +
+
DEFAULT_CHANGE_LOG_LOCATION - Property in PluginConstants +
+
DEFAULT_DATASOURCE_NAME - Property in PluginConstants +
+
DefaultDatabaseProductName - Property in GormDatabase +
+
defaultSchema - Property in DatabaseMigrationCommand +
+
defineCommandNames() - Method in GroovyDiffToChangeLogCommandStep +
+
defineCommandNames() - Method in GroovyGenerateChangeLogCommandStep +
+
description - Property in DatabaseMigrationGrailsPlugin +
+
documentation - Property in DatabaseMigrationGrailsPlugin +
+
doDiffToChangeLog(java.io.File, liquibase.database.Database, liquibase.database.Database) - Method in DatabaseMigrationCommand +
+
doGenerateChangeLog(java.io.File, liquibase.database.Database) - Method in DatabaseMigrationCommand +
+
doGeneratePreviousChangesetSql(java.io.Writer, liquibase.database.Database, liquibase.Liquibase, java.lang.String, java.lang.String) - Method in DatabaseMigrationCommand +
+
doWithApplicationContext() - Method in DatabaseMigrationGrailsPlugin +
+
doWithSpring() - Method in DatabaseMigrationGrailsPlugin +
+
+ + + +

E

+
+ +
EnvironmentAwareCodeGenConfig - Class in org.grails.plugins.databasemigration +
+
EnvironmentAwareCodeGenConfig(org.grails.config.CodeGenConfig, java.lang.String) - Constructor in EnvironmentAwareCodeGenConfig +
+
error(java.lang.String) - Method in GroovyChange +
Called by the validate closure.
+
executionContext - Property in ScriptDatabaseMigrationCommand +
+
+ + + +

F

+
+ +
fail(java.lang.String) - Method in GroovyPrecondition +
Called from the check closure as a shortcut to throw a PreconditionFailedException.
+
finishInitialization() - Method in GroovyChange +
+
+ + + +

G

+
+ +
generateCheckSum() - Method in GroovyChange +
+
generateRollbackStatements(liquibase.database.Database) - Method in GroovyChange +
+
generateStatements(liquibase.database.Database) - Method in GroovyChange +
+
getApplication() - Method in GroovyChange +
Called from the change or rollback closure.
+
getApplication() - Method in GroovyPrecondition +
Called from the change or rollback closure.
+
getArgs() - Method in DatabaseMigrationCommand +
+
getChangeLogFile() - Method in DatabaseMigrationCommand +
+
getChangeLogFileName() - Method in DatabaseMigrationCommand +
+
getChangeLogLocation() - Method in DatabaseMigrationCommand +
+
getConfig() - Method in ApplicationContextDatabaseMigrationCommand +
+
getConfig() - Method in DatabaseMigrationCommand +
+
getConfig() - Method in GroovyChange +
Called from the change or rollback closure.
+
getConfig() - Method in GroovyPrecondition +
Called from the change or rollback closure.
+
getConfigPrefix() - Method in DatabaseMigrationCommand +
+
getConfirmationMessage() - Method in GroovyChange +
+
getConnection() - Method in GroovyChange +
Called from the change or rollback closure.
+
getConnection() - Method in GroovyPrecondition +
Called from the change or rollback closure.
+
getContexts() - Method in DatabaseMigrationCommand +
+
getDatabaseConnection() - Method in GroovyChange +
Called from the change or rollback closure.
+
getDatabaseConnection() - Method in GroovyPrecondition +
Called from the change or rollback closure.
+
getDataSourceConfig(grails.config.ConfigMap) - Method in DatabaseMigrationCommand +
+
getDataSourceName(java.lang.String) - Method in DatabaseMigrationGrailsPlugin +
+
getDialect() - Method in GormDatabase +
+
getDirection() - Method in NoopVisitor +
+
getEnvironmentConfig(java.lang.String) - Method in ApplicationContextDatabaseMigrationCommand +
+
getMetadata() - Method in GormDatabase +
Return the hibernate Metadata used by this database.
+
getName() - Method in ScriptDatabaseMigrationCommand +
+
getPriority() - Method in GroovyChangeLogSerializer +
+
getSnapshot(liquibase.structure.DatabaseObject) - Method in GormDatabase.1 +
+
getSql() - Method in GroovyChange +
Called from the change or rollback closure.
+
getSql() - Method in GroovyPrecondition +
Called from the change or rollback closure.
+
getTransactionManager() - Method in DatabaseMigrationTransactionManager +
Returns:
The transactionManager bean for the current dataSource
+
getValidFileExtensions() - Method in GroovyChangeLogSerializer +
+
GormDatabase - Class in org.grails.plugins.databasemigration.liquibase +
+
GormDatabase.1 - Class in org.grails.plugins.databasemigration.liquibase +
+
GormDatabase.1() - Constructor in GormDatabase.1 +
+
GormDatabase(org.hibernate.dialect.Dialect, org.hibernate.service.ServiceRegistry) - Constructor in GormDatabase +
+
GrailsLiquibase - Class in org.grails.plugins.databasemigration.liquibase +
+
GrailsLiquibase(org.springframework.context.ApplicationContext) - Constructor in GrailsLiquibase +
+
grailsVersion - Property in DatabaseMigrationGrailsPlugin +
+
GroovyChange - Class in org.grails.plugins.databasemigration.liquibase +
Custom Groovy-based change.
+
GroovyChange.1 - Class in org.grails.plugins.databasemigration.liquibase +
+
GroovyChange.1() - Constructor in GroovyChange.1 +
+
GroovyChange() - Constructor in GroovyChange +
+
GroovyChangeLogParser - Class in org.grails.plugins.databasemigration.liquibase +
+
GroovyChangeLogParser() - Constructor in GroovyChangeLogParser +
+
GroovyChangeLogSerializer - Class in org.grails.plugins.databasemigration.liquibase +
+
GroovyChangeLogSerializer() - Constructor in GroovyChangeLogSerializer +
+
GroovyDiffToChangeLogCommandStep - Class in org.grails.plugins.databasemigration.liquibase +
+
GroovyDiffToChangeLogCommandStep() - Constructor in GroovyDiffToChangeLogCommandStep +
+
GroovyGenerateChangeLogCommandStep - Class in org.grails.plugins.databasemigration.liquibase +
+
GroovyGenerateChangeLogCommandStep() - Constructor in GroovyGenerateChangeLogCommandStep +
+
GroovyPrecondition - Class in org.grails.plugins.databasemigration.liquibase +
Custom Groovy-based precondition.
+
GroovyPrecondition.1 - Class in org.grails.plugins.databasemigration.liquibase +
+
GroovyPrecondition.1() - Constructor in GroovyPrecondition.1 +
+
GroovyPrecondition() - Constructor in GroovyPrecondition +
+
+ + + +

H

+
+ +
handle() - Method in ApplicationContextDatabaseMigrationCommand +
+
handle() - Method in DbmChangelogToGroovy +
+
handle() - Method in DbmCreateChangelog +
+
handle() - Method in ScriptDatabaseMigrationCommand +
+
hasOption(java.lang.String) - Method in DatabaseMigrationCommand +
+
+ + + +

I

+
+ +
initClosure - Property in GroovyChange +
+
initClosureCalled - Property in GroovyChange +
+
invokeMethod(java.lang.String, java.lang.Object) - Method in DatabaseChangeLogBuilder +
+
isCorrectDatabaseImplementation(liquibase.database.DatabaseConnection) - Method in GormDatabase +
+
isDefaultDataSource(java.lang.String) - Method in DatabaseMigrationGrailsPlugin +
+
isTimeFormat(java.lang.String) - Method in DatabaseMigrationCommand +
+
+ + + +

J

+
+ +
+ + + +

K

+
+ +
+ + + +

L

+
+ +
license - Property in DatabaseMigrationGrailsPlugin +
+
load(liquibase.parser.core.ParsedNode, liquibase.resource.ResourceAccessor) - Method in GroovyChange +
+
load(liquibase.parser.core.ParsedNode, liquibase.resource.ResourceAccessor) - Method in GroovyPrecondition +
+
+ + + +

M

+
+ +
+ + + +

N

+
+ +
name - Property in GroovyPrecondition +
+
NEWLINE - Field in ChangelogXml2Groovy +
+
NoopVisitor - Class in org.grails.plugins.databasemigration +
+
NoopVisitor(liquibase.database.Database) - Constructor in NoopVisitor +
+
+ + + +

O

+
+ +
optionValue(java.lang.String) - Method in DatabaseMigrationCommand +
+
outputHeader(liquibase.executor.Executor, java.lang.String, liquibase.Liquibase, liquibase.database.Database) - Method in DatabaseMigrationCommand +
+
+ + + +

P

+
+ +
parseDateTime(java.lang.String, java.lang.String) - Method in DatabaseMigrationCommand +
+
parseToNode(java.lang.String, liquibase.changelog.ChangeLogParameters, liquibase.resource.ResourceAccessor) - Method in GroovyChangeLogParser +
+
performUpdate(liquibase.Liquibase) - Method in GrailsLiquibase +
+
PluginConstants - Class in org.grails.plugins.databasemigration +
+
PluginConstants() - Constructor in PluginConstants +
+
pluginExcludes - Property in DatabaseMigrationGrailsPlugin +
+
priority - Property in GroovyChangeLogParser +
+
processGrailsChangeProperty(java.lang.String, java.lang.Object) - Method in DatabaseChangeLogBuilder +
+
processGrailsPreconditionProperty(java.lang.String, java.lang.Object) - Method in DatabaseChangeLogBuilder +
+
+ + + +

Q

+
+ +
+ + + +

R

+
+ +
resolveChangeLogFile(java.lang.String) - Method in DatabaseMigrationCommand +
+
resourceAccessor - Property in GroovyPrecondition +
+
rollbackClosure - Property in GroovyChange +
+
run(liquibase.command.CommandResultsBuilder) - Method in GroovyDiffToChangeLogCommandStep +
+
run(liquibase.command.CommandResultsBuilder) - Method in GroovyGenerateChangeLogCommandStep +
+
+ + + +

S

+
+ +
scm - Property in DatabaseMigrationGrailsPlugin +
+
ScriptDatabaseMigrationCommand - Trait in org.grails.plugins.databasemigration.command +
+
serialize(liquibase.serializer.LiquibaseSerializable, boolean) - Method in GroovyChangeLogSerializer +
+
serializedObjectNamespace - Property in GroovyPrecondition +
+
setChangeLogProperties(java.util.Map, liquibase.changelog.ChangeLogParameters) - Method in GroovyChangeLogParser +
+
setConfig(grails.config.ConfigMap) - Method in ScriptDatabaseMigrationCommand +
+
setExecutionContext(org.grails.cli.profile.ExecutionContext) - Method in ApplicationContextDatabaseMigrationCommand +
+
setParent(java.lang.Object, java.lang.Object) - Method in DatabaseChangeLogBuilder +
+
shortName - Property in GormDatabase +
+
shouldRun() - Method in GroovyChange +
Returns:
Whether the database executor is instance of LoggingExecutor
+
skipBootstrap - Property in ApplicationContextDatabaseMigrationCommand +
+
sourceConfig - Property in ScriptDatabaseMigrationCommand +
+
sql - Property in GroovyChange +
+
sql - Property in GroovyPrecondition +
+
sqlStatement(liquibase.statement.SqlStatement) - Method in GroovyChange +
Called by the change or rollback closure.
+
sqlStatements(java.util.List) - Method in GroovyChange +
Called by the change or rollback closure.
+
supports(java.lang.String, liquibase.resource.ResourceAccessor) - Method in GroovyChangeLogParser +
+
supportsRollback(liquibase.database.Database) - Method in GroovyChange +
+
+ + + +

T

+
+ +
title - Property in DatabaseMigrationGrailsPlugin +
+
+ + + +

U

+
+ +
+ + + +

V

+
+ +
validate(liquibase.database.Database) - Method in GroovyChange +
+
validate(liquibase.database.Database) - Method in GroovyPrecondition +
+
validateClosure - Property in GroovyChange +
+
validateClosureCalled - Property in GroovyChange +
+
validationErrors - Property in GroovyChange +
+
visit(liquibase.changelog.ChangeSet, liquibase.changelog.DatabaseChangeLog, liquibase.database.Database, Set<ChangeSetFilterResult>) - Method in NoopVisitor +
+
+ + + +

W

+
+ +
warn(java.lang.String) - Method in GroovyChange +
Called by the validate closure.
+
warn(liquibase.database.Database) - Method in GroovyPrecondition +
+
warnings - Property in GroovyChange +
+
withDatabase(Map<String, String>, groovy.lang.Closure) - Method in DatabaseMigrationCommand +
+
withFileOrSystemOutWriter(java.lang.String, groovy.lang.Closure) - Method in DatabaseMigrationCommand +
+
withGormDatabase(org.springframework.context.ConfigurableApplicationContext, java.lang.String, groovy.lang.Closure) - Method in ApplicationContextDatabaseMigrationCommand +
+
withLiquibase(groovy.lang.Closure) - Method in DatabaseMigrationCommand +
+
withNewTransaction(java.util.Map, groovy.lang.Closure) - Method in DatabaseMigrationTransactionManager +
Executes the closure within the context of a new transaction which is + configured with the properties contained in transactionProperties. +
+
withNewTransaction(groovy.lang.Closure) - Method in GroovyChange +
Executes the grailsChange>change block within the context of a new transaction
+
withTransaction(groovy.lang.Closure) - Method in ApplicationContextDatabaseMigrationCommand +
+
withTransaction(org.springframework.transaction.TransactionDefinition, groovy.lang.Closure) - Method in DatabaseMigrationTransactionManager +
Executes the closure within the context of a transaction for the given TransactionDefinition
+
write(List<T>, java.io.OutputStream) - Method in GroovyChangeLogSerializer +
+
+ + + +

X

+
+ +
+ + + +

Y

+
+ +
+ + + +

Z

+
+ +
+ + + +

_

+
+ +
+ + +
+ + +A + +B + +C + +D + +E + +F + +G + +H + +I + +J + +K + +L + +M + +N + +O + +P + +Q + +R + +S + +T + +U + +V + +W + +X + +Y + +Z + +_ + + + +
+ + + + + +
+ + + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html b/docs-legacy-database-migration/5.0.x/api/index.html new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?deprecated-list.html b/docs-legacy-database-migration/5.0.x/api/index.html?deprecated-list.html new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?deprecated-list.html @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?help-doc.html b/docs-legacy-database-migration/5.0.x/api/index.html?help-doc.html new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?help-doc.html @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?index-all.html b/docs-legacy-database-migration/5.0.x/api/index.html?index-all.html new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?index-all.html @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/DatabaseMigrationException b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/DatabaseMigrationException new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/DatabaseMigrationException @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/EnvironmentAwareCodeGenConfig b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/EnvironmentAwareCodeGenConfig new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/EnvironmentAwareCodeGenConfig @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/NoopVisitor b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/NoopVisitor new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/NoopVisitor @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/PluginConstants b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/PluginConstants new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/PluginConstants @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/DatabaseMigrationCommand b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/DatabaseMigrationCommand new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/DatabaseMigrationCommand @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/DbmChangelogToGroovy b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/DbmChangelogToGroovy new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/DbmChangelogToGroovy @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/DbmCreateChangelog b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/DbmCreateChangelog new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/DbmCreateChangelog @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/package-summary.html b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/package-summary.html new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/command/package-summary.html @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GormDatabase b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GormDatabase new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GormDatabase @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GormDatabase.1 b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GormDatabase.1 new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GormDatabase.1 @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GrailsLiquibase b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GrailsLiquibase new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GrailsLiquibase @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyChange b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyChange new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyChange @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyChange.1 b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyChange.1 new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyChange.1 @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyPrecondition b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyPrecondition new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyPrecondition @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.1 b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.1 new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.1 @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/package-summary.html b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/package-summary.html new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/liquibase/package-summary.html @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/package-summary.html b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/package-summary.html new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?org/grails/plugins/databasemigration/package-summary.html @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/index.html?overview-summary.html b/docs-legacy-database-migration/5.0.x/api/index.html?overview-summary.html new file mode 100644 index 000000000000..6dabcf8ea206 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/index.html?overview-summary.html @@ -0,0 +1,90 @@ + + + + +Index (database-migration 5.0.0 API) + + + + + + + + + + + + + + <noscript> + <div>JavaScript is disabled on your browser.</div> + </noscript> + <h2>Frame Alert</h2> + <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationException.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationException.html new file mode 100644 index 000000000000..fab0dad49074 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationException.html @@ -0,0 +1,261 @@ + + + + + + + + + + + DatabaseMigrationException (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationException

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationException.html#DatabaseMigrationException() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationException.html#DatabaseMigrationException() new file mode 100644 index 000000000000..fab0dad49074 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationException.html#DatabaseMigrationException() @@ -0,0 +1,261 @@ + + + + + + + + + + + DatabaseMigrationException (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationException

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html new file mode 100644 index 000000000000..e99a9ac9deaa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html @@ -0,0 +1,481 @@ + + + + + + + + + + + DatabaseMigrationGrailsPlugin (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationGrailsPlugin

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#CONFIG_MAIN_PREFIX b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#CONFIG_MAIN_PREFIX new file mode 100644 index 000000000000..e99a9ac9deaa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#CONFIG_MAIN_PREFIX @@ -0,0 +1,481 @@ + + + + + + + + + + + DatabaseMigrationGrailsPlugin (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationGrailsPlugin

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#DatabaseMigrationGrailsPlugin() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#DatabaseMigrationGrailsPlugin() new file mode 100644 index 000000000000..e99a9ac9deaa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#DatabaseMigrationGrailsPlugin() @@ -0,0 +1,481 @@ + + + + + + + + + + + DatabaseMigrationGrailsPlugin (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationGrailsPlugin

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#author b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#author new file mode 100644 index 000000000000..e99a9ac9deaa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#author @@ -0,0 +1,481 @@ + + + + + + + + + + + DatabaseMigrationGrailsPlugin (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationGrailsPlugin

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#authorEmail b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#authorEmail new file mode 100644 index 000000000000..e99a9ac9deaa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#authorEmail @@ -0,0 +1,481 @@ + + + + + + + + + + + DatabaseMigrationGrailsPlugin (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationGrailsPlugin

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#description b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#description new file mode 100644 index 000000000000..e99a9ac9deaa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#description @@ -0,0 +1,481 @@ + + + + + + + + + + + DatabaseMigrationGrailsPlugin (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationGrailsPlugin

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#doWithApplicationContext() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#doWithApplicationContext() new file mode 100644 index 000000000000..e99a9ac9deaa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#doWithApplicationContext() @@ -0,0 +1,481 @@ + + + + + + + + + + + DatabaseMigrationGrailsPlugin (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationGrailsPlugin

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#doWithSpring() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#doWithSpring() new file mode 100644 index 000000000000..e99a9ac9deaa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#doWithSpring() @@ -0,0 +1,481 @@ + + + + + + + + + + + DatabaseMigrationGrailsPlugin (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationGrailsPlugin

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#documentation b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#documentation new file mode 100644 index 000000000000..e99a9ac9deaa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#documentation @@ -0,0 +1,481 @@ + + + + + + + + + + + DatabaseMigrationGrailsPlugin (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationGrailsPlugin

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#getDataSourceName(java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#getDataSourceName(java.lang.String) new file mode 100644 index 000000000000..e99a9ac9deaa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#getDataSourceName(java.lang.String) @@ -0,0 +1,481 @@ + + + + + + + + + + + DatabaseMigrationGrailsPlugin (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationGrailsPlugin

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#grailsVersion b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#grailsVersion new file mode 100644 index 000000000000..e99a9ac9deaa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#grailsVersion @@ -0,0 +1,481 @@ + + + + + + + + + + + DatabaseMigrationGrailsPlugin (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationGrailsPlugin

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#isDefaultDataSource(java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#isDefaultDataSource(java.lang.String) new file mode 100644 index 000000000000..e99a9ac9deaa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#isDefaultDataSource(java.lang.String) @@ -0,0 +1,481 @@ + + + + + + + + + + + DatabaseMigrationGrailsPlugin (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationGrailsPlugin

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#license b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#license new file mode 100644 index 000000000000..e99a9ac9deaa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#license @@ -0,0 +1,481 @@ + + + + + + + + + + + DatabaseMigrationGrailsPlugin (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationGrailsPlugin

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#pluginExcludes b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#pluginExcludes new file mode 100644 index 000000000000..e99a9ac9deaa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#pluginExcludes @@ -0,0 +1,481 @@ + + + + + + + + + + + DatabaseMigrationGrailsPlugin (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationGrailsPlugin

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#scm b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#scm new file mode 100644 index 000000000000..e99a9ac9deaa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#scm @@ -0,0 +1,481 @@ + + + + + + + + + + + DatabaseMigrationGrailsPlugin (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationGrailsPlugin

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#title b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#title new file mode 100644 index 000000000000..e99a9ac9deaa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationGrailsPlugin.html#title @@ -0,0 +1,481 @@ + + + + + + + + + + + DatabaseMigrationGrailsPlugin (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationGrailsPlugin

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html new file mode 100644 index 000000000000..d559068b08c9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html @@ -0,0 +1,441 @@ + + + + + + + + + + + DatabaseMigrationTransactionManager (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationTransactionManager

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#DatabaseMigrationTransactionManager(org.springframework.context.ApplicationContext, java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#DatabaseMigrationTransactionManager(org.springframework.context.ApplicationContext, java.lang.String) new file mode 100644 index 000000000000..d559068b08c9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#DatabaseMigrationTransactionManager(org.springframework.context.ApplicationContext, java.lang.String) @@ -0,0 +1,441 @@ + + + + + + + + + + + DatabaseMigrationTransactionManager (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationTransactionManager

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#applicationContext b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#applicationContext new file mode 100644 index 000000000000..d559068b08c9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#applicationContext @@ -0,0 +1,441 @@ + + + + + + + + + + + DatabaseMigrationTransactionManager (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationTransactionManager

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#dataSource b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#dataSource new file mode 100644 index 000000000000..d559068b08c9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#dataSource @@ -0,0 +1,441 @@ + + + + + + + + + + + DatabaseMigrationTransactionManager (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationTransactionManager

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#getTransactionManager() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#getTransactionManager() new file mode 100644 index 000000000000..d559068b08c9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#getTransactionManager() @@ -0,0 +1,441 @@ + + + + + + + + + + + DatabaseMigrationTransactionManager (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationTransactionManager

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#withNewTransaction(java.util.Map, groovy.lang.Closure) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#withNewTransaction(java.util.Map, groovy.lang.Closure) new file mode 100644 index 000000000000..d559068b08c9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#withNewTransaction(java.util.Map, groovy.lang.Closure) @@ -0,0 +1,441 @@ + + + + + + + + + + + DatabaseMigrationTransactionManager (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationTransactionManager

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#withTransaction(org.springframework.transaction.TransactionDefinition, groovy.lang.Closure) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#withTransaction(org.springframework.transaction.TransactionDefinition, groovy.lang.Closure) new file mode 100644 index 000000000000..d559068b08c9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/DatabaseMigrationTransactionManager.html#withTransaction(org.springframework.transaction.TransactionDefinition, groovy.lang.Closure) @@ -0,0 +1,441 @@ + + + + + + + + + + + DatabaseMigrationTransactionManager (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class DatabaseMigrationTransactionManager

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/EnvironmentAwareCodeGenConfig.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/EnvironmentAwareCodeGenConfig.html new file mode 100644 index 000000000000..d38e11267510 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/EnvironmentAwareCodeGenConfig.html @@ -0,0 +1,238 @@ + + + + + + + + + + + EnvironmentAwareCodeGenConfig (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class EnvironmentAwareCodeGenConfig

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/EnvironmentAwareCodeGenConfig.html#EnvironmentAwareCodeGenConfig(org.grails.config.CodeGenConfig, java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/EnvironmentAwareCodeGenConfig.html#EnvironmentAwareCodeGenConfig(org.grails.config.CodeGenConfig, java.lang.String) new file mode 100644 index 000000000000..d38e11267510 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/EnvironmentAwareCodeGenConfig.html#EnvironmentAwareCodeGenConfig(org.grails.config.CodeGenConfig, java.lang.String) @@ -0,0 +1,238 @@ + + + + + + + + + + + EnvironmentAwareCodeGenConfig (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class EnvironmentAwareCodeGenConfig

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/NoopVisitor.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/NoopVisitor.html new file mode 100644 index 000000000000..ba17230d435a --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/NoopVisitor.html @@ -0,0 +1,362 @@ + + + + + + + + + + + NoopVisitor (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class NoopVisitor

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/NoopVisitor.html#NoopVisitor(liquibase.database.Database) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/NoopVisitor.html#NoopVisitor(liquibase.database.Database) new file mode 100644 index 000000000000..ba17230d435a --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/NoopVisitor.html#NoopVisitor(liquibase.database.Database) @@ -0,0 +1,362 @@ + + + + + + + + + + + NoopVisitor (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class NoopVisitor

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/NoopVisitor.html#database b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/NoopVisitor.html#database new file mode 100644 index 000000000000..ba17230d435a --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/NoopVisitor.html#database @@ -0,0 +1,362 @@ + + + + + + + + + + + NoopVisitor (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class NoopVisitor

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/NoopVisitor.html#getDirection() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/NoopVisitor.html#getDirection() new file mode 100644 index 000000000000..ba17230d435a --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/NoopVisitor.html#getDirection() @@ -0,0 +1,362 @@ + + + + + + + + + + + NoopVisitor (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class NoopVisitor

+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ + + +
+ + + + + +
+ + +
+ + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/NoopVisitor.html#visit(liquibase.changelog.ChangeSet, liquibase.changelog.DatabaseChangeLog, liquibase.database.Database, Set) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/NoopVisitor.html#visit(liquibase.changelog.ChangeSet, liquibase.changelog.DatabaseChangeLog, liquibase.database.Database, Set) new file mode 100644 index 000000000000..ba17230d435a --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/NoopVisitor.html#visit(liquibase.changelog.ChangeSet, liquibase.changelog.DatabaseChangeLog, liquibase.database.Database, Set) @@ -0,0 +1,362 @@ + + + + + + + + + + + NoopVisitor (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
+ + + + + +
+ + + + + +
+ +
Package: org.grails.plugins.databasemigration
+ +

[Groovy] Class NoopVisitor

+
+
+
    +
    • org.grails.plugins.databasemigration.NoopVisitor +
    +
    +
      +
    • + +
      +
      All Implemented Interfaces and Traits:
      +
      ChangeSetVisitor
      +
      + + + +
      +
      + +
      class NoopVisitor
      +extends java.lang.Object
      +implements ChangeSetVisitor
      + +
    • +
    +
    + +
    +
      +
    • + + + + + + + +
        +
      • +

        Field Summary

        +
          + + + + + + + + + + + + + + +
          Fields 
          ModifiersNameDescription
          protected Database database
          +
        +
      • + +
      + + + + + + + + + + +
        +
      • +

        Constructor Summary

        +
          + + + + + + + + + + +
          Constructors 
          Constructor and description
          + NoopVisitor + (Database database)
          +
        +
      • +
      + + + + +
        + +
      • +

        Methods Summary

        + +
      • + +
      • +

        Inherited Methods Summary

        +
          + + + + + + + + + + + +
          Inherited Methods 
          Methods inherited from className
          class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
          +
        +
      • + +
      + +
    • +
    +
    + +
    +
      +
    • + + + + +
        +
      • + + +

        Field Detail

        + + +
          +
        • +

          protected Database database

          +

          +
        • +
        + +
      • +
      + + + + + + + + +
        +
      • + + +

        Constructor Detail

        + + +
          +
        • +

          NoopVisitor(Database database)

          +

          +
        • +
        + +
      • +
      + + + + + +
        +
      • + + +

        Method Detail

        + + + + + +
          +
        • +

          @java.lang.Override +void visit(ChangeSet changeSet, DatabaseChangeLog databaseChangeLog, Database database, java.util.Set<ChangeSetFilterResult> filterResults)

          +

          +
        • +
        + +
      • +
      + +
    • +
    +
    + + + +
    + + + + + +
    + + +
    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/PluginConstants.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/PluginConstants.html new file mode 100644 index 000000000000..736f38471772 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/PluginConstants.html @@ -0,0 +1,325 @@ + + + + + + + + + + + PluginConstants (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
    + + + + + +
    + + + + + +
    + +
    Package: org.grails.plugins.databasemigration
    + +

    [Groovy] Class PluginConstants

    +
    +
    +
      +
      • org.grails.plugins.databasemigration.PluginConstants +
      +
      +
        +
      • + + + +
        +
        + +
        class PluginConstants
        +extends java.lang.Object
        + +
      • +
      +
      + +
      +
        +
      • + + + + + + + + + + + + + + + + + + +
          +
        • +

          Constructor Summary

          +
            + + + + + + + + + + +
            Constructors 
            Constructor and description
            + PluginConstants + ()
            +
          +
        • +
        + + + + +
          + +
        • +

          Inherited Methods Summary

          +
            + + + + + + + + + + + +
            Inherited Methods 
            Methods inherited from className
            class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
            +
          +
        • + +
        + +
      • +
      +
      + +
      +
        +
      • + + + + + + +
          +
        • + + +

          Property Detail

          + + +
            +
          • +

            static final java.lang.String DATA_SOURCE_NAME_KEY

            +

            +
          • +
          + + +
            +
          • +

            static final java.lang.String DEFAULT_CHANGE_LOG_LOCATION

            +

            +
          • +
          + + +
            +
          • +

            static final java.lang.String DEFAULT_DATASOURCE_NAME

            +

            +
          • +
          + +
        • +
        + + + + + + +
          +
        • + + +

          Constructor Detail

          + + +
            +
          • +

            PluginConstants()

            +

            +
          • +
          + +
        • +
        + + + + +
      • +
      +
      + + + +
      + + + + + +
      + + +
      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/PluginConstants.html#DATA_SOURCE_NAME_KEY b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/PluginConstants.html#DATA_SOURCE_NAME_KEY new file mode 100644 index 000000000000..736f38471772 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/PluginConstants.html#DATA_SOURCE_NAME_KEY @@ -0,0 +1,325 @@ + + + + + + + + + + + PluginConstants (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
      + + + + + +
      + + + + + +
      + +
      Package: org.grails.plugins.databasemigration
      + +

      [Groovy] Class PluginConstants

      +
      +
      +
        +
        • org.grails.plugins.databasemigration.PluginConstants +
        +
        +
          +
        • + + + +
          +
          + +
          class PluginConstants
          +extends java.lang.Object
          + +
        • +
        +
        + +
        +
          +
        • + + + + + + + + + + + + + + + + + + +
            +
          • +

            Constructor Summary

            +
              + + + + + + + + + + +
              Constructors 
              Constructor and description
              + PluginConstants + ()
              +
            +
          • +
          + + + + +
            + +
          • +

            Inherited Methods Summary

            +
              + + + + + + + + + + + +
              Inherited Methods 
              Methods inherited from className
              class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
              +
            +
          • + +
          + +
        • +
        +
        + +
        +
          +
        • + + + + + + +
            +
          • + + +

            Property Detail

            + + +
              +
            • +

              static final java.lang.String DATA_SOURCE_NAME_KEY

              +

              +
            • +
            + + +
              +
            • +

              static final java.lang.String DEFAULT_CHANGE_LOG_LOCATION

              +

              +
            • +
            + + +
              +
            • +

              static final java.lang.String DEFAULT_DATASOURCE_NAME

              +

              +
            • +
            + +
          • +
          + + + + + + +
            +
          • + + +

            Constructor Detail

            + + +
              +
            • +

              PluginConstants()

              +

              +
            • +
            + +
          • +
          + + + + +
        • +
        +
        + + + +
        + + + + + +
        + + +
        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/PluginConstants.html#DEFAULT_CHANGE_LOG_LOCATION b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/PluginConstants.html#DEFAULT_CHANGE_LOG_LOCATION new file mode 100644 index 000000000000..736f38471772 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/PluginConstants.html#DEFAULT_CHANGE_LOG_LOCATION @@ -0,0 +1,325 @@ + + + + + + + + + + + PluginConstants (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
        + + + + + +
        + + + + + +
        + +
        Package: org.grails.plugins.databasemigration
        + +

        [Groovy] Class PluginConstants

        +
        +
        +
          +
          • org.grails.plugins.databasemigration.PluginConstants +
          +
          +
            +
          • + + + +
            +
            + +
            class PluginConstants
            +extends java.lang.Object
            + +
          • +
          +
          + +
          +
            +
          • + + + + + + + + + + + + + + + + + + +
              +
            • +

              Constructor Summary

              +
                + + + + + + + + + + +
                Constructors 
                Constructor and description
                + PluginConstants + ()
                +
              +
            • +
            + + + + +
              + +
            • +

              Inherited Methods Summary

              +
                + + + + + + + + + + + +
                Inherited Methods 
                Methods inherited from className
                class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                +
              +
            • + +
            + +
          • +
          +
          + +
          +
            +
          • + + + + + + +
              +
            • + + +

              Property Detail

              + + +
                +
              • +

                static final java.lang.String DATA_SOURCE_NAME_KEY

                +

                +
              • +
              + + +
                +
              • +

                static final java.lang.String DEFAULT_CHANGE_LOG_LOCATION

                +

                +
              • +
              + + +
                +
              • +

                static final java.lang.String DEFAULT_DATASOURCE_NAME

                +

                +
              • +
              + +
            • +
            + + + + + + +
              +
            • + + +

              Constructor Detail

              + + +
                +
              • +

                PluginConstants()

                +

                +
              • +
              + +
            • +
            + + + + +
          • +
          +
          + + + +
          + + + + + +
          + + +
          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/PluginConstants.html#DEFAULT_DATASOURCE_NAME b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/PluginConstants.html#DEFAULT_DATASOURCE_NAME new file mode 100644 index 000000000000..736f38471772 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/PluginConstants.html#DEFAULT_DATASOURCE_NAME @@ -0,0 +1,325 @@ + + + + + + + + + + + PluginConstants (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
          + + + + + +
          + + + + + +
          + +
          Package: org.grails.plugins.databasemigration
          + +

          [Groovy] Class PluginConstants

          +
          +
          +
            +
            • org.grails.plugins.databasemigration.PluginConstants +
            +
            +
              +
            • + + + +
              +
              + +
              class PluginConstants
              +extends java.lang.Object
              + +
            • +
            +
            + +
            +
              +
            • + + + + + + + + + + + + + + + + + + +
                +
              • +

                Constructor Summary

                +
                  + + + + + + + + + + +
                  Constructors 
                  Constructor and description
                  + PluginConstants + ()
                  +
                +
              • +
              + + + + +
                + +
              • +

                Inherited Methods Summary

                +
                  + + + + + + + + + + + +
                  Inherited Methods 
                  Methods inherited from className
                  class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                  +
                +
              • + +
              + +
            • +
            +
            + +
            +
              +
            • + + + + + + +
                +
              • + + +

                Property Detail

                + + +
                  +
                • +

                  static final java.lang.String DATA_SOURCE_NAME_KEY

                  +

                  +
                • +
                + + +
                  +
                • +

                  static final java.lang.String DEFAULT_CHANGE_LOG_LOCATION

                  +

                  +
                • +
                + + +
                  +
                • +

                  static final java.lang.String DEFAULT_DATASOURCE_NAME

                  +

                  +
                • +
                + +
              • +
              + + + + + + +
                +
              • + + +

                Constructor Detail

                + + +
                  +
                • +

                  PluginConstants()

                  +

                  +
                • +
                + +
              • +
              + + + + +
            • +
            +
            + + + +
            + + + + + +
            + + +
            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/PluginConstants.html#PluginConstants() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/PluginConstants.html#PluginConstants() new file mode 100644 index 000000000000..736f38471772 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/PluginConstants.html#PluginConstants() @@ -0,0 +1,325 @@ + + + + + + + + + + + PluginConstants (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
            + + + + + +
            + + + + + +
            + +
            Package: org.grails.plugins.databasemigration
            + +

            [Groovy] Class PluginConstants

            +
            +
            +
              +
              • org.grails.plugins.databasemigration.PluginConstants +
              +
              +
                +
              • + + + +
                +
                + +
                class PluginConstants
                +extends java.lang.Object
                + +
              • +
              +
              + +
              +
                +
              • + + + + + + + + + + + + + + + + + + +
                  +
                • +

                  Constructor Summary

                  +
                    + + + + + + + + + + +
                    Constructors 
                    Constructor and description
                    + PluginConstants + ()
                    +
                  +
                • +
                + + + + +
                  + +
                • +

                  Inherited Methods Summary

                  +
                    + + + + + + + + + + + +
                    Inherited Methods 
                    Methods inherited from className
                    class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                    +
                  +
                • + +
                + +
              • +
              +
              + +
              +
                +
              • + + + + + + +
                  +
                • + + +

                  Property Detail

                  + + +
                    +
                  • +

                    static final java.lang.String DATA_SOURCE_NAME_KEY

                    +

                    +
                  • +
                  + + +
                    +
                  • +

                    static final java.lang.String DEFAULT_CHANGE_LOG_LOCATION

                    +

                    +
                  • +
                  + + +
                    +
                  • +

                    static final java.lang.String DEFAULT_DATASOURCE_NAME

                    +

                    +
                  • +
                  + +
                • +
                + + + + + + +
                  +
                • + + +

                  Constructor Detail

                  + + +
                    +
                  • +

                    PluginConstants()

                    +

                    +
                  • +
                  + +
                • +
                + + + + +
              • +
              +
              + + + +
              + + + + + +
              + + +
              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html new file mode 100644 index 000000000000..812dd9e7a3a9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html @@ -0,0 +1,418 @@ + + + + + + + + + + + ApplicationContextDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
              + + + + + +
              + + + + + +
              + +
              Package: org.grails.plugins.databasemigration.command
              + +

              [Groovy] Trait ApplicationContextDatabaseMigrationCommand

              +
              +
              +
                +
                • org.grails.plugins.databasemigration.command.ApplicationContextDatabaseMigrationCommand +
                +
                +
                  +
                • + +
                  +
                  All Implemented Interfaces and Traits:
                  +
                  DatabaseMigrationCommand
                  +
                  + + + +
                  +
                  + +
                  @groovy.transform.Trait
                  +@groovy.transform.CompileStatic
                  +trait ApplicationContextDatabaseMigrationCommand
                  +extends java.lang.Object
                  +implements DatabaseMigrationCommand
                  + +
                • +
                +
                + +
                +
                  +
                • + + + + + + + + + + + + + + + + + + + + +
                    + +
                  • +

                    Methods Summary

                    + +
                  • + +
                  • +

                    Inherited Methods Summary

                    +
                      + + + + + + + + + + + +
                      Inherited Methods 
                      Methods inherited from className
                      class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                      +
                    +
                  • + +
                  + +
                • +
                +
                + +
                +
                  +
                • + + + + + + + + + + + + + + + + +
                    +
                  • + + +

                    Method Detail

                    + + +
                      +
                    • +

                      void configureLiquibase()

                      +

                      +
                    • +
                    + + +
                      +
                    • +

                      @java.lang.Override +ConfigMap getConfig()

                      +

                      +
                    • +
                    + + +
                      +
                    • +

                      ConfigMap getEnvironmentConfig(java.lang.String environment)

                      +

                      +
                    • +
                    + + + + + +
                      +
                    • +

                      abstract void handle()

                      +

                      +
                    • +
                    + + + + + +
                      +
                    • +

                      void withGormDatabase(ConfigurableApplicationContext applicationContext, java.lang.String dataSource, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                      +

                      +
                    • +
                    + + +
                      +
                    • +

                      void withTransaction(groovy.lang.Closure callable)

                      +

                      +
                    • +
                    + +
                  • +
                  + +
                • +
                +
                + + + +
                + + + + + +
                + + +
                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#applicationContext b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#applicationContext new file mode 100644 index 000000000000..812dd9e7a3a9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#applicationContext @@ -0,0 +1,418 @@ + + + + + + + + + + + ApplicationContextDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                + + + + + +
                + + + + + +
                + +
                Package: org.grails.plugins.databasemigration.command
                + +

                [Groovy] Trait ApplicationContextDatabaseMigrationCommand

                +
                +
                +
                  +
                  • org.grails.plugins.databasemigration.command.ApplicationContextDatabaseMigrationCommand +
                  +
                  +
                    +
                  • + +
                    +
                    All Implemented Interfaces and Traits:
                    +
                    DatabaseMigrationCommand
                    +
                    + + + +
                    +
                    + +
                    @groovy.transform.Trait
                    +@groovy.transform.CompileStatic
                    +trait ApplicationContextDatabaseMigrationCommand
                    +extends java.lang.Object
                    +implements DatabaseMigrationCommand
                    + +
                  • +
                  +
                  + +
                  +
                    +
                  • + + + + + + + + + + + + + + + + + + + + +
                      + +
                    • +

                      Methods Summary

                      + +
                    • + +
                    • +

                      Inherited Methods Summary

                      +
                        + + + + + + + + + + + +
                        Inherited Methods 
                        Methods inherited from className
                        class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                        +
                      +
                    • + +
                    + +
                  • +
                  +
                  + +
                  +
                    +
                  • + + + + + + + + + + + + + + + + +
                      +
                    • + + +

                      Method Detail

                      + + +
                        +
                      • +

                        void configureLiquibase()

                        +

                        +
                      • +
                      + + +
                        +
                      • +

                        @java.lang.Override +ConfigMap getConfig()

                        +

                        +
                      • +
                      + + +
                        +
                      • +

                        ConfigMap getEnvironmentConfig(java.lang.String environment)

                        +

                        +
                      • +
                      + + + + + +
                        +
                      • +

                        abstract void handle()

                        +

                        +
                      • +
                      + + + + + +
                        +
                      • +

                        void withGormDatabase(ConfigurableApplicationContext applicationContext, java.lang.String dataSource, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                        +

                        +
                      • +
                      + + +
                        +
                      • +

                        void withTransaction(groovy.lang.Closure callable)

                        +

                        +
                      • +
                      + +
                    • +
                    + +
                  • +
                  +
                  + + + +
                  + + + + + +
                  + + +
                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#configureLiquibase() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#configureLiquibase() new file mode 100644 index 000000000000..812dd9e7a3a9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#configureLiquibase() @@ -0,0 +1,418 @@ + + + + + + + + + + + ApplicationContextDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                  + + + + + +
                  + + + + + +
                  + +
                  Package: org.grails.plugins.databasemigration.command
                  + +

                  [Groovy] Trait ApplicationContextDatabaseMigrationCommand

                  +
                  +
                  +
                    +
                    • org.grails.plugins.databasemigration.command.ApplicationContextDatabaseMigrationCommand +
                    +
                    +
                      +
                    • + +
                      +
                      All Implemented Interfaces and Traits:
                      +
                      DatabaseMigrationCommand
                      +
                      + + + +
                      +
                      + +
                      @groovy.transform.Trait
                      +@groovy.transform.CompileStatic
                      +trait ApplicationContextDatabaseMigrationCommand
                      +extends java.lang.Object
                      +implements DatabaseMigrationCommand
                      + +
                    • +
                    +
                    + +
                    +
                      +
                    • + + + + + + + + + + + + + + + + + + + + +
                        + +
                      • +

                        Methods Summary

                        + +
                      • + +
                      • +

                        Inherited Methods Summary

                        +
                          + + + + + + + + + + + +
                          Inherited Methods 
                          Methods inherited from className
                          class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                          +
                        +
                      • + +
                      + +
                    • +
                    +
                    + +
                    +
                      +
                    • + + + + + + + + + + + + + + + + +
                        +
                      • + + +

                        Method Detail

                        + + +
                          +
                        • +

                          void configureLiquibase()

                          +

                          +
                        • +
                        + + +
                          +
                        • +

                          @java.lang.Override +ConfigMap getConfig()

                          +

                          +
                        • +
                        + + +
                          +
                        • +

                          ConfigMap getEnvironmentConfig(java.lang.String environment)

                          +

                          +
                        • +
                        + + + + + +
                          +
                        • +

                          abstract void handle()

                          +

                          +
                        • +
                        + + + + + +
                          +
                        • +

                          void withGormDatabase(ConfigurableApplicationContext applicationContext, java.lang.String dataSource, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                          +

                          +
                        • +
                        + + +
                          +
                        • +

                          void withTransaction(groovy.lang.Closure callable)

                          +

                          +
                        • +
                        + +
                      • +
                      + +
                    • +
                    +
                    + + + +
                    + + + + + +
                    + + +
                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#getConfig() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#getConfig() new file mode 100644 index 000000000000..812dd9e7a3a9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#getConfig() @@ -0,0 +1,418 @@ + + + + + + + + + + + ApplicationContextDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                    + + + + + +
                    + + + + + +
                    + +
                    Package: org.grails.plugins.databasemigration.command
                    + +

                    [Groovy] Trait ApplicationContextDatabaseMigrationCommand

                    +
                    +
                    +
                      +
                      • org.grails.plugins.databasemigration.command.ApplicationContextDatabaseMigrationCommand +
                      +
                      +
                        +
                      • + +
                        +
                        All Implemented Interfaces and Traits:
                        +
                        DatabaseMigrationCommand
                        +
                        + + + +
                        +
                        + +
                        @groovy.transform.Trait
                        +@groovy.transform.CompileStatic
                        +trait ApplicationContextDatabaseMigrationCommand
                        +extends java.lang.Object
                        +implements DatabaseMigrationCommand
                        + +
                      • +
                      +
                      + +
                      +
                        +
                      • + + + + + + + + + + + + + + + + + + + + +
                          + +
                        • +

                          Methods Summary

                          + +
                        • + +
                        • +

                          Inherited Methods Summary

                          +
                            + + + + + + + + + + + +
                            Inherited Methods 
                            Methods inherited from className
                            class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                            +
                          +
                        • + +
                        + +
                      • +
                      +
                      + +
                      +
                        +
                      • + + + + + + + + + + + + + + + + +
                          +
                        • + + +

                          Method Detail

                          + + +
                            +
                          • +

                            void configureLiquibase()

                            +

                            +
                          • +
                          + + +
                            +
                          • +

                            @java.lang.Override +ConfigMap getConfig()

                            +

                            +
                          • +
                          + + +
                            +
                          • +

                            ConfigMap getEnvironmentConfig(java.lang.String environment)

                            +

                            +
                          • +
                          + + + + + +
                            +
                          • +

                            abstract void handle()

                            +

                            +
                          • +
                          + + + + + +
                            +
                          • +

                            void withGormDatabase(ConfigurableApplicationContext applicationContext, java.lang.String dataSource, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                            +

                            +
                          • +
                          + + +
                            +
                          • +

                            void withTransaction(groovy.lang.Closure callable)

                            +

                            +
                          • +
                          + +
                        • +
                        + +
                      • +
                      +
                      + + + +
                      + + + + + +
                      + + +
                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#getEnvironmentConfig(java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#getEnvironmentConfig(java.lang.String) new file mode 100644 index 000000000000..812dd9e7a3a9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#getEnvironmentConfig(java.lang.String) @@ -0,0 +1,418 @@ + + + + + + + + + + + ApplicationContextDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                      + + + + + +
                      + + + + + +
                      + +
                      Package: org.grails.plugins.databasemigration.command
                      + +

                      [Groovy] Trait ApplicationContextDatabaseMigrationCommand

                      +
                      +
                      +
                        +
                        • org.grails.plugins.databasemigration.command.ApplicationContextDatabaseMigrationCommand +
                        +
                        +
                          +
                        • + +
                          +
                          All Implemented Interfaces and Traits:
                          +
                          DatabaseMigrationCommand
                          +
                          + + + +
                          +
                          + +
                          @groovy.transform.Trait
                          +@groovy.transform.CompileStatic
                          +trait ApplicationContextDatabaseMigrationCommand
                          +extends java.lang.Object
                          +implements DatabaseMigrationCommand
                          + +
                        • +
                        +
                        + +
                        +
                          +
                        • + + + + + + + + + + + + + + + + + + + + +
                            + +
                          • +

                            Methods Summary

                            + +
                          • + +
                          • +

                            Inherited Methods Summary

                            +
                              + + + + + + + + + + + +
                              Inherited Methods 
                              Methods inherited from className
                              class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                              +
                            +
                          • + +
                          + +
                        • +
                        +
                        + +
                        +
                          +
                        • + + + + + + + + + + + + + + + + +
                            +
                          • + + +

                            Method Detail

                            + + +
                              +
                            • +

                              void configureLiquibase()

                              +

                              +
                            • +
                            + + +
                              +
                            • +

                              @java.lang.Override +ConfigMap getConfig()

                              +

                              +
                            • +
                            + + +
                              +
                            • +

                              ConfigMap getEnvironmentConfig(java.lang.String environment)

                              +

                              +
                            • +
                            + + + + + +
                              +
                            • +

                              abstract void handle()

                              +

                              +
                            • +
                            + + + + + +
                              +
                            • +

                              void withGormDatabase(ConfigurableApplicationContext applicationContext, java.lang.String dataSource, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                              +

                              +
                            • +
                            + + +
                              +
                            • +

                              void withTransaction(groovy.lang.Closure callable)

                              +

                              +
                            • +
                            + +
                          • +
                          + +
                        • +
                        +
                        + + + +
                        + + + + + +
                        + + +
                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#handle() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#handle() new file mode 100644 index 000000000000..812dd9e7a3a9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#handle() @@ -0,0 +1,418 @@ + + + + + + + + + + + ApplicationContextDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                        + + + + + +
                        + + + + + +
                        + +
                        Package: org.grails.plugins.databasemigration.command
                        + +

                        [Groovy] Trait ApplicationContextDatabaseMigrationCommand

                        +
                        +
                        +
                          +
                          • org.grails.plugins.databasemigration.command.ApplicationContextDatabaseMigrationCommand +
                          +
                          +
                            +
                          • + +
                            +
                            All Implemented Interfaces and Traits:
                            +
                            DatabaseMigrationCommand
                            +
                            + + + +
                            +
                            + +
                            @groovy.transform.Trait
                            +@groovy.transform.CompileStatic
                            +trait ApplicationContextDatabaseMigrationCommand
                            +extends java.lang.Object
                            +implements DatabaseMigrationCommand
                            + +
                          • +
                          +
                          + +
                          +
                            +
                          • + + + + + + + + + + + + + + + + + + + + +
                              + +
                            • +

                              Methods Summary

                              + +
                            • + +
                            • +

                              Inherited Methods Summary

                              +
                                + + + + + + + + + + + +
                                Inherited Methods 
                                Methods inherited from className
                                class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                +
                              +
                            • + +
                            + +
                          • +
                          +
                          + +
                          +
                            +
                          • + + + + + + + + + + + + + + + + +
                              +
                            • + + +

                              Method Detail

                              + + +
                                +
                              • +

                                void configureLiquibase()

                                +

                                +
                              • +
                              + + +
                                +
                              • +

                                @java.lang.Override +ConfigMap getConfig()

                                +

                                +
                              • +
                              + + +
                                +
                              • +

                                ConfigMap getEnvironmentConfig(java.lang.String environment)

                                +

                                +
                              • +
                              + + + + + +
                                +
                              • +

                                abstract void handle()

                                +

                                +
                              • +
                              + + + + + +
                                +
                              • +

                                void withGormDatabase(ConfigurableApplicationContext applicationContext, java.lang.String dataSource, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                +

                                +
                              • +
                              + + +
                                +
                              • +

                                void withTransaction(groovy.lang.Closure callable)

                                +

                                +
                              • +
                              + +
                            • +
                            + +
                          • +
                          +
                          + + + +
                          + + + + + +
                          + + +
                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#setExecutionContext(org.grails.cli.profile.ExecutionContext) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#setExecutionContext(org.grails.cli.profile.ExecutionContext) new file mode 100644 index 000000000000..812dd9e7a3a9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#setExecutionContext(org.grails.cli.profile.ExecutionContext) @@ -0,0 +1,418 @@ + + + + + + + + + + + ApplicationContextDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                          + + + + + +
                          + + + + + +
                          + +
                          Package: org.grails.plugins.databasemigration.command
                          + +

                          [Groovy] Trait ApplicationContextDatabaseMigrationCommand

                          +
                          +
                          +
                            +
                            • org.grails.plugins.databasemigration.command.ApplicationContextDatabaseMigrationCommand +
                            +
                            +
                              +
                            • + +
                              +
                              All Implemented Interfaces and Traits:
                              +
                              DatabaseMigrationCommand
                              +
                              + + + +
                              +
                              + +
                              @groovy.transform.Trait
                              +@groovy.transform.CompileStatic
                              +trait ApplicationContextDatabaseMigrationCommand
                              +extends java.lang.Object
                              +implements DatabaseMigrationCommand
                              + +
                            • +
                            +
                            + +
                            +
                              +
                            • + + + + + + + + + + + + + + + + + + + + +
                                + +
                              • +

                                Methods Summary

                                + +
                              • + +
                              • +

                                Inherited Methods Summary

                                +
                                  + + + + + + + + + + + +
                                  Inherited Methods 
                                  Methods inherited from className
                                  class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                  +
                                +
                              • + +
                              + +
                            • +
                            +
                            + +
                            +
                              +
                            • + + + + + + + + + + + + + + + + +
                                +
                              • + + +

                                Method Detail

                                + + +
                                  +
                                • +

                                  void configureLiquibase()

                                  +

                                  +
                                • +
                                + + +
                                  +
                                • +

                                  @java.lang.Override +ConfigMap getConfig()

                                  +

                                  +
                                • +
                                + + +
                                  +
                                • +

                                  ConfigMap getEnvironmentConfig(java.lang.String environment)

                                  +

                                  +
                                • +
                                + + + + + +
                                  +
                                • +

                                  abstract void handle()

                                  +

                                  +
                                • +
                                + + + + + +
                                  +
                                • +

                                  void withGormDatabase(ConfigurableApplicationContext applicationContext, java.lang.String dataSource, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                  +

                                  +
                                • +
                                + + +
                                  +
                                • +

                                  void withTransaction(groovy.lang.Closure callable)

                                  +

                                  +
                                • +
                                + +
                              • +
                              + +
                            • +
                            +
                            + + + +
                            + + + + + +
                            + + +
                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#skipBootstrap b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#skipBootstrap new file mode 100644 index 000000000000..812dd9e7a3a9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#skipBootstrap @@ -0,0 +1,418 @@ + + + + + + + + + + + ApplicationContextDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                            + + + + + +
                            + + + + + +
                            + +
                            Package: org.grails.plugins.databasemigration.command
                            + +

                            [Groovy] Trait ApplicationContextDatabaseMigrationCommand

                            +
                            +
                            +
                              +
                              • org.grails.plugins.databasemigration.command.ApplicationContextDatabaseMigrationCommand +
                              +
                              +
                                +
                              • + +
                                +
                                All Implemented Interfaces and Traits:
                                +
                                DatabaseMigrationCommand
                                +
                                + + + +
                                +
                                + +
                                @groovy.transform.Trait
                                +@groovy.transform.CompileStatic
                                +trait ApplicationContextDatabaseMigrationCommand
                                +extends java.lang.Object
                                +implements DatabaseMigrationCommand
                                + +
                              • +
                              +
                              + +
                              +
                                +
                              • + + + + + + + + + + + + + + + + + + + + +
                                  + +
                                • +

                                  Methods Summary

                                  + +
                                • + +
                                • +

                                  Inherited Methods Summary

                                  +
                                    + + + + + + + + + + + +
                                    Inherited Methods 
                                    Methods inherited from className
                                    class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                    +
                                  +
                                • + +
                                + +
                              • +
                              +
                              + +
                              +
                                +
                              • + + + + + + + + + + + + + + + + +
                                  +
                                • + + +

                                  Method Detail

                                  + + +
                                    +
                                  • +

                                    void configureLiquibase()

                                    +

                                    +
                                  • +
                                  + + +
                                    +
                                  • +

                                    @java.lang.Override +ConfigMap getConfig()

                                    +

                                    +
                                  • +
                                  + + +
                                    +
                                  • +

                                    ConfigMap getEnvironmentConfig(java.lang.String environment)

                                    +

                                    +
                                  • +
                                  + + + + + +
                                    +
                                  • +

                                    abstract void handle()

                                    +

                                    +
                                  • +
                                  + + + + + +
                                    +
                                  • +

                                    void withGormDatabase(ConfigurableApplicationContext applicationContext, java.lang.String dataSource, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                    +

                                    +
                                  • +
                                  + + +
                                    +
                                  • +

                                    void withTransaction(groovy.lang.Closure callable)

                                    +

                                    +
                                  • +
                                  + +
                                • +
                                + +
                              • +
                              +
                              + + + +
                              + + + + + +
                              + + +
                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#withGormDatabase(org.springframework.context.ConfigurableApplicationContext, java.lang.String, groovy.lang.Closure) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#withGormDatabase(org.springframework.context.ConfigurableApplicationContext, java.lang.String, groovy.lang.Closure) new file mode 100644 index 000000000000..812dd9e7a3a9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#withGormDatabase(org.springframework.context.ConfigurableApplicationContext, java.lang.String, groovy.lang.Closure) @@ -0,0 +1,418 @@ + + + + + + + + + + + ApplicationContextDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                              + + + + + +
                              + + + + + +
                              + +
                              Package: org.grails.plugins.databasemigration.command
                              + +

                              [Groovy] Trait ApplicationContextDatabaseMigrationCommand

                              +
                              +
                              +
                                +
                                • org.grails.plugins.databasemigration.command.ApplicationContextDatabaseMigrationCommand +
                                +
                                +
                                  +
                                • + +
                                  +
                                  All Implemented Interfaces and Traits:
                                  +
                                  DatabaseMigrationCommand
                                  +
                                  + + + +
                                  +
                                  + +
                                  @groovy.transform.Trait
                                  +@groovy.transform.CompileStatic
                                  +trait ApplicationContextDatabaseMigrationCommand
                                  +extends java.lang.Object
                                  +implements DatabaseMigrationCommand
                                  + +
                                • +
                                +
                                + +
                                +
                                  +
                                • + + + + + + + + + + + + + + + + + + + + +
                                    + +
                                  • +

                                    Methods Summary

                                    + +
                                  • + +
                                  • +

                                    Inherited Methods Summary

                                    +
                                      + + + + + + + + + + + +
                                      Inherited Methods 
                                      Methods inherited from className
                                      class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                      +
                                    +
                                  • + +
                                  + +
                                • +
                                +
                                + +
                                +
                                  +
                                • + + + + + + + + + + + + + + + + +
                                    +
                                  • + + +

                                    Method Detail

                                    + + +
                                      +
                                    • +

                                      void configureLiquibase()

                                      +

                                      +
                                    • +
                                    + + +
                                      +
                                    • +

                                      @java.lang.Override +ConfigMap getConfig()

                                      +

                                      +
                                    • +
                                    + + +
                                      +
                                    • +

                                      ConfigMap getEnvironmentConfig(java.lang.String environment)

                                      +

                                      +
                                    • +
                                    + + + + + +
                                      +
                                    • +

                                      abstract void handle()

                                      +

                                      +
                                    • +
                                    + + + + + +
                                      +
                                    • +

                                      void withGormDatabase(ConfigurableApplicationContext applicationContext, java.lang.String dataSource, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                      +

                                      +
                                    • +
                                    + + +
                                      +
                                    • +

                                      void withTransaction(groovy.lang.Closure callable)

                                      +

                                      +
                                    • +
                                    + +
                                  • +
                                  + +
                                • +
                                +
                                + + + +
                                + + + + + +
                                + + +
                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#withTransaction(groovy.lang.Closure) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#withTransaction(groovy.lang.Closure) new file mode 100644 index 000000000000..812dd9e7a3a9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ApplicationContextDatabaseMigrationCommand.html#withTransaction(groovy.lang.Closure) @@ -0,0 +1,418 @@ + + + + + + + + + + + ApplicationContextDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                + + + + + +
                                + + + + + +
                                + +
                                Package: org.grails.plugins.databasemigration.command
                                + +

                                [Groovy] Trait ApplicationContextDatabaseMigrationCommand

                                +
                                +
                                +
                                  +
                                  • org.grails.plugins.databasemigration.command.ApplicationContextDatabaseMigrationCommand +
                                  +
                                  +
                                    +
                                  • + +
                                    +
                                    All Implemented Interfaces and Traits:
                                    +
                                    DatabaseMigrationCommand
                                    +
                                    + + + +
                                    +
                                    + +
                                    @groovy.transform.Trait
                                    +@groovy.transform.CompileStatic
                                    +trait ApplicationContextDatabaseMigrationCommand
                                    +extends java.lang.Object
                                    +implements DatabaseMigrationCommand
                                    + +
                                  • +
                                  +
                                  + +
                                  +
                                    +
                                  • + + + + + + + + + + + + + + + + + + + + +
                                      + +
                                    • +

                                      Methods Summary

                                      + +
                                    • + +
                                    • +

                                      Inherited Methods Summary

                                      +
                                        + + + + + + + + + + + +
                                        Inherited Methods 
                                        Methods inherited from className
                                        class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                        +
                                      +
                                    • + +
                                    + +
                                  • +
                                  +
                                  + +
                                  +
                                    +
                                  • + + + + + + + + + + + + + + + + +
                                      +
                                    • + + +

                                      Method Detail

                                      + + +
                                        +
                                      • +

                                        void configureLiquibase()

                                        +

                                        +
                                      • +
                                      + + +
                                        +
                                      • +

                                        @java.lang.Override +ConfigMap getConfig()

                                        +

                                        +
                                      • +
                                      + + +
                                        +
                                      • +

                                        ConfigMap getEnvironmentConfig(java.lang.String environment)

                                        +

                                        +
                                      • +
                                      + + + + + +
                                        +
                                      • +

                                        abstract void handle()

                                        +

                                        +
                                      • +
                                      + + + + + +
                                        +
                                      • +

                                        void withGormDatabase(ConfigurableApplicationContext applicationContext, java.lang.String dataSource, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                        +

                                        +
                                      • +
                                      + + +
                                        +
                                      • +

                                        void withTransaction(groovy.lang.Closure callable)

                                        +

                                        +
                                      • +
                                      + +
                                    • +
                                    + +
                                  • +
                                  +
                                  + + + +
                                  + + + + + +
                                  + + +
                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                  + + + + + +
                                  + + + + + +
                                  + +
                                  Package: org.grails.plugins.databasemigration.command
                                  + +

                                  [Groovy] Trait DatabaseMigrationCommand

                                  +
                                  +
                                  +
                                    +
                                    • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                    +
                                    +
                                      +
                                    • + + + +
                                      +
                                      + +
                                      @groovy.transform.Trait
                                      +@groovy.transform.CompileStatic
                                      +trait DatabaseMigrationCommand
                                      +extends java.lang.Object
                                      + +
                                    • +
                                    +
                                    + +
                                    + +
                                    + +
                                    +
                                      +
                                    • + + + + + + +
                                        +
                                      • + + +

                                        Property Detail

                                        + + + + + +
                                          +
                                        • +

                                          java.lang.String contexts

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          java.lang.String dataSource

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          java.lang.String defaultSchema

                                          +

                                          +
                                        • +
                                        + +
                                      • +
                                      + + + + + + + + + +
                                        +
                                      • + + +

                                        Method Detail

                                        + + +
                                          +
                                        • +

                                          void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          void configureDatabase(Database database)

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                          +

                                          +
                                        • +
                                        + + + + + +
                                          +
                                        • +

                                          void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          java.util.List<java.lang.String> getArgs()

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          java.io.File getChangeLogFile()

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          java.lang.String getChangeLogFileName()

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          java.io.File getChangeLogLocation()

                                          +

                                          +
                                        • +
                                        + + + + + +
                                          +
                                        • +

                                          java.lang.String getConfigPrefix()

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          java.lang.String getContexts()

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          boolean hasOption(java.lang.String name)

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          boolean isTimeFormat(java.lang.String time)

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          java.lang.String optionValue(java.lang.String name)

                                          +

                                          +
                                        • +
                                        + + + + + +
                                          +
                                        • +

                                          java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          java.io.File resolveChangeLogFile(java.lang.String filename)

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                          +

                                          +
                                        • +
                                        + + +
                                          +
                                        • +

                                          void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                          +

                                          +
                                        • +
                                        + +
                                      • +
                                      + +
                                    • +
                                    +
                                    + + + +
                                    + + + + + +
                                    + + +
                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#appendToChangeLog(java.io.File, java.io.File) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#appendToChangeLog(java.io.File, java.io.File) new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#appendToChangeLog(java.io.File, java.io.File) @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                    + + + + + +
                                    + + + + + +
                                    + +
                                    Package: org.grails.plugins.databasemigration.command
                                    + +

                                    [Groovy] Trait DatabaseMigrationCommand

                                    +
                                    +
                                    +
                                      +
                                      • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                      +
                                      +
                                        +
                                      • + + + +
                                        +
                                        + +
                                        @groovy.transform.Trait
                                        +@groovy.transform.CompileStatic
                                        +trait DatabaseMigrationCommand
                                        +extends java.lang.Object
                                        + +
                                      • +
                                      +
                                      + +
                                      + +
                                      + +
                                      +
                                        +
                                      • + + + + + + +
                                          +
                                        • + + +

                                          Property Detail

                                          + + + + + +
                                            +
                                          • +

                                            java.lang.String contexts

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            java.lang.String dataSource

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            java.lang.String defaultSchema

                                            +

                                            +
                                          • +
                                          + +
                                        • +
                                        + + + + + + + + + +
                                          +
                                        • + + +

                                          Method Detail

                                          + + +
                                            +
                                          • +

                                            void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            void configureDatabase(Database database)

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                            +

                                            +
                                          • +
                                          + + + + + +
                                            +
                                          • +

                                            void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            java.util.List<java.lang.String> getArgs()

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            java.io.File getChangeLogFile()

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            java.lang.String getChangeLogFileName()

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            java.io.File getChangeLogLocation()

                                            +

                                            +
                                          • +
                                          + + + + + +
                                            +
                                          • +

                                            java.lang.String getConfigPrefix()

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            java.lang.String getContexts()

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            boolean hasOption(java.lang.String name)

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            boolean isTimeFormat(java.lang.String time)

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            java.lang.String optionValue(java.lang.String name)

                                            +

                                            +
                                          • +
                                          + + + + + +
                                            +
                                          • +

                                            java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            java.io.File resolveChangeLogFile(java.lang.String filename)

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                            +

                                            +
                                          • +
                                          + + +
                                            +
                                          • +

                                            void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                            +

                                            +
                                          • +
                                          + +
                                        • +
                                        + +
                                      • +
                                      +
                                      + + + +
                                      + + + + + +
                                      + + +
                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#commandLine b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#commandLine new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#commandLine @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                      + + + + + +
                                      + + + + + +
                                      + +
                                      Package: org.grails.plugins.databasemigration.command
                                      + +

                                      [Groovy] Trait DatabaseMigrationCommand

                                      +
                                      +
                                      +
                                        +
                                        • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                        +
                                        +
                                          +
                                        • + + + +
                                          +
                                          + +
                                          @groovy.transform.Trait
                                          +@groovy.transform.CompileStatic
                                          +trait DatabaseMigrationCommand
                                          +extends java.lang.Object
                                          + +
                                        • +
                                        +
                                        + +
                                        + +
                                        + +
                                        +
                                          +
                                        • + + + + + + +
                                            +
                                          • + + +

                                            Property Detail

                                            + + + + + +
                                              +
                                            • +

                                              java.lang.String contexts

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              java.lang.String dataSource

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              java.lang.String defaultSchema

                                              +

                                              +
                                            • +
                                            + +
                                          • +
                                          + + + + + + + + + +
                                            +
                                          • + + +

                                            Method Detail

                                            + + +
                                              +
                                            • +

                                              void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              void configureDatabase(Database database)

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                              +

                                              +
                                            • +
                                            + + + + + +
                                              +
                                            • +

                                              void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              java.util.List<java.lang.String> getArgs()

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              java.io.File getChangeLogFile()

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              java.lang.String getChangeLogFileName()

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              java.io.File getChangeLogLocation()

                                              +

                                              +
                                            • +
                                            + + + + + +
                                              +
                                            • +

                                              java.lang.String getConfigPrefix()

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              java.lang.String getContexts()

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              boolean hasOption(java.lang.String name)

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              boolean isTimeFormat(java.lang.String time)

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              java.lang.String optionValue(java.lang.String name)

                                              +

                                              +
                                            • +
                                            + + + + + +
                                              +
                                            • +

                                              java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              java.io.File resolveChangeLogFile(java.lang.String filename)

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                              +

                                              +
                                            • +
                                            + + +
                                              +
                                            • +

                                              void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                              +

                                              +
                                            • +
                                            + +
                                          • +
                                          + +
                                        • +
                                        +
                                        + + + +
                                        + + + + + +
                                        + + +
                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#configureDatabase(liquibase.database.Database) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#configureDatabase(liquibase.database.Database) new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#configureDatabase(liquibase.database.Database) @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                        + + + + + +
                                        + + + + + +
                                        + +
                                        Package: org.grails.plugins.databasemigration.command
                                        + +

                                        [Groovy] Trait DatabaseMigrationCommand

                                        +
                                        +
                                        +
                                          +
                                          • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                          +
                                          +
                                            +
                                          • + + + +
                                            +
                                            + +
                                            @groovy.transform.Trait
                                            +@groovy.transform.CompileStatic
                                            +trait DatabaseMigrationCommand
                                            +extends java.lang.Object
                                            + +
                                          • +
                                          +
                                          + +
                                          + +
                                          + +
                                          +
                                            +
                                          • + + + + + + +
                                              +
                                            • + + +

                                              Property Detail

                                              + + + + + +
                                                +
                                              • +

                                                java.lang.String contexts

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                java.lang.String dataSource

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                java.lang.String defaultSchema

                                                +

                                                +
                                              • +
                                              + +
                                            • +
                                            + + + + + + + + + +
                                              +
                                            • + + +

                                              Method Detail

                                              + + +
                                                +
                                              • +

                                                void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                void configureDatabase(Database database)

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                +

                                                +
                                              • +
                                              + + + + + +
                                                +
                                              • +

                                                void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                java.util.List<java.lang.String> getArgs()

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                java.io.File getChangeLogFile()

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                java.lang.String getChangeLogFileName()

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                java.io.File getChangeLogLocation()

                                                +

                                                +
                                              • +
                                              + + + + + +
                                                +
                                              • +

                                                java.lang.String getConfigPrefix()

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                java.lang.String getContexts()

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                boolean hasOption(java.lang.String name)

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                boolean isTimeFormat(java.lang.String time)

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                java.lang.String optionValue(java.lang.String name)

                                                +

                                                +
                                              • +
                                              + + + + + +
                                                +
                                              • +

                                                java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                java.io.File resolveChangeLogFile(java.lang.String filename)

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                +

                                                +
                                              • +
                                              + + +
                                                +
                                              • +

                                                void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                +

                                                +
                                              • +
                                              + +
                                            • +
                                            + +
                                          • +
                                          +
                                          + + + +
                                          + + + + + +
                                          + + +
                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#contexts b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#contexts new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#contexts @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                          + + + + + +
                                          + + + + + +
                                          + +
                                          Package: org.grails.plugins.databasemigration.command
                                          + +

                                          [Groovy] Trait DatabaseMigrationCommand

                                          +
                                          +
                                          +
                                            +
                                            • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                            +
                                            +
                                              +
                                            • + + + +
                                              +
                                              + +
                                              @groovy.transform.Trait
                                              +@groovy.transform.CompileStatic
                                              +trait DatabaseMigrationCommand
                                              +extends java.lang.Object
                                              + +
                                            • +
                                            +
                                            + +
                                            + +
                                            + +
                                            +
                                              +
                                            • + + + + + + +
                                                +
                                              • + + +

                                                Property Detail

                                                + + + + + +
                                                  +
                                                • +

                                                  java.lang.String contexts

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  java.lang.String dataSource

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  java.lang.String defaultSchema

                                                  +

                                                  +
                                                • +
                                                + +
                                              • +
                                              + + + + + + + + + +
                                                +
                                              • + + +

                                                Method Detail

                                                + + +
                                                  +
                                                • +

                                                  void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  void configureDatabase(Database database)

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                  +

                                                  +
                                                • +
                                                + + + + + +
                                                  +
                                                • +

                                                  void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  java.util.List<java.lang.String> getArgs()

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  java.io.File getChangeLogFile()

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  java.lang.String getChangeLogFileName()

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  java.io.File getChangeLogLocation()

                                                  +

                                                  +
                                                • +
                                                + + + + + +
                                                  +
                                                • +

                                                  java.lang.String getConfigPrefix()

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  java.lang.String getContexts()

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  boolean hasOption(java.lang.String name)

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  boolean isTimeFormat(java.lang.String time)

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  java.lang.String optionValue(java.lang.String name)

                                                  +

                                                  +
                                                • +
                                                + + + + + +
                                                  +
                                                • +

                                                  java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  java.io.File resolveChangeLogFile(java.lang.String filename)

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                  +

                                                  +
                                                • +
                                                + + +
                                                  +
                                                • +

                                                  void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                  +

                                                  +
                                                • +
                                                + +
                                              • +
                                              + +
                                            • +
                                            +
                                            + + + +
                                            + + + + + +
                                            + + +
                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#createDatabase(java.lang.String, java.lang.String, Map) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#createDatabase(java.lang.String, java.lang.String, Map) new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#createDatabase(java.lang.String, java.lang.String, Map) @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                            + + + + + +
                                            + + + + + +
                                            + +
                                            Package: org.grails.plugins.databasemigration.command
                                            + +

                                            [Groovy] Trait DatabaseMigrationCommand

                                            +
                                            +
                                            +
                                              +
                                              • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                              +
                                              +
                                                +
                                              • + + + +
                                                +
                                                + +
                                                @groovy.transform.Trait
                                                +@groovy.transform.CompileStatic
                                                +trait DatabaseMigrationCommand
                                                +extends java.lang.Object
                                                + +
                                              • +
                                              +
                                              + +
                                              + +
                                              + +
                                              +
                                                +
                                              • + + + + + + +
                                                  +
                                                • + + +

                                                  Property Detail

                                                  + + + + + +
                                                    +
                                                  • +

                                                    java.lang.String contexts

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    java.lang.String dataSource

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    java.lang.String defaultSchema

                                                    +

                                                    +
                                                  • +
                                                  + +
                                                • +
                                                + + + + + + + + + +
                                                  +
                                                • + + +

                                                  Method Detail

                                                  + + +
                                                    +
                                                  • +

                                                    void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    void configureDatabase(Database database)

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                    +

                                                    +
                                                  • +
                                                  + + + + + +
                                                    +
                                                  • +

                                                    void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    java.util.List<java.lang.String> getArgs()

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    java.io.File getChangeLogFile()

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    java.lang.String getChangeLogFileName()

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    java.io.File getChangeLogLocation()

                                                    +

                                                    +
                                                  • +
                                                  + + + + + +
                                                    +
                                                  • +

                                                    java.lang.String getConfigPrefix()

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    java.lang.String getContexts()

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    boolean hasOption(java.lang.String name)

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    boolean isTimeFormat(java.lang.String time)

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    java.lang.String optionValue(java.lang.String name)

                                                    +

                                                    +
                                                  • +
                                                  + + + + + +
                                                    +
                                                  • +

                                                    java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    java.io.File resolveChangeLogFile(java.lang.String filename)

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                    +

                                                    +
                                                  • +
                                                  + + +
                                                    +
                                                  • +

                                                    void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                    +

                                                    +
                                                  • +
                                                  + +
                                                • +
                                                + +
                                              • +
                                              +
                                              + + + +
                                              + + + + + +
                                              + + +
                                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#createResourceAccessor() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#createResourceAccessor() new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#createResourceAccessor() @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                              + + + + + +
                                              + + + + + +
                                              + +
                                              Package: org.grails.plugins.databasemigration.command
                                              + +

                                              [Groovy] Trait DatabaseMigrationCommand

                                              +
                                              +
                                              +
                                                +
                                                • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                +
                                                +
                                                  +
                                                • + + + +
                                                  +
                                                  + +
                                                  @groovy.transform.Trait
                                                  +@groovy.transform.CompileStatic
                                                  +trait DatabaseMigrationCommand
                                                  +extends java.lang.Object
                                                  + +
                                                • +
                                                +
                                                + +
                                                + +
                                                + +
                                                +
                                                  +
                                                • + + + + + + +
                                                    +
                                                  • + + +

                                                    Property Detail

                                                    + + + + + +
                                                      +
                                                    • +

                                                      java.lang.String contexts

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      java.lang.String dataSource

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      java.lang.String defaultSchema

                                                      +

                                                      +
                                                    • +
                                                    + +
                                                  • +
                                                  + + + + + + + + + +
                                                    +
                                                  • + + +

                                                    Method Detail

                                                    + + +
                                                      +
                                                    • +

                                                      void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      void configureDatabase(Database database)

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                      +

                                                      +
                                                    • +
                                                    + + + + + +
                                                      +
                                                    • +

                                                      void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      java.util.List<java.lang.String> getArgs()

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      java.io.File getChangeLogFile()

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      java.lang.String getChangeLogFileName()

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      java.io.File getChangeLogLocation()

                                                      +

                                                      +
                                                    • +
                                                    + + + + + +
                                                      +
                                                    • +

                                                      java.lang.String getConfigPrefix()

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      java.lang.String getContexts()

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      boolean hasOption(java.lang.String name)

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      boolean isTimeFormat(java.lang.String time)

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      java.lang.String optionValue(java.lang.String name)

                                                      +

                                                      +
                                                    • +
                                                    + + + + + +
                                                      +
                                                    • +

                                                      java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      java.io.File resolveChangeLogFile(java.lang.String filename)

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                      +

                                                      +
                                                    • +
                                                    + + +
                                                      +
                                                    • +

                                                      void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                      +

                                                      +
                                                    • +
                                                    + +
                                                  • +
                                                  + +
                                                • +
                                                +
                                                + + + +
                                                + + + + + +
                                                + + +
                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#dataSource b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#dataSource new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#dataSource @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                + + + + + +
                                                + + + + + +
                                                + +
                                                Package: org.grails.plugins.databasemigration.command
                                                + +

                                                [Groovy] Trait DatabaseMigrationCommand

                                                +
                                                +
                                                +
                                                  +
                                                  • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                  +
                                                  +
                                                    +
                                                  • + + + +
                                                    +
                                                    + +
                                                    @groovy.transform.Trait
                                                    +@groovy.transform.CompileStatic
                                                    +trait DatabaseMigrationCommand
                                                    +extends java.lang.Object
                                                    + +
                                                  • +
                                                  +
                                                  + +
                                                  + +
                                                  + +
                                                  +
                                                    +
                                                  • + + + + + + +
                                                      +
                                                    • + + +

                                                      Property Detail

                                                      + + + + + +
                                                        +
                                                      • +

                                                        java.lang.String contexts

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        java.lang.String dataSource

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        java.lang.String defaultSchema

                                                        +

                                                        +
                                                      • +
                                                      + +
                                                    • +
                                                    + + + + + + + + + +
                                                      +
                                                    • + + +

                                                      Method Detail

                                                      + + +
                                                        +
                                                      • +

                                                        void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        void configureDatabase(Database database)

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                        +

                                                        +
                                                      • +
                                                      + + + + + +
                                                        +
                                                      • +

                                                        void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        java.util.List<java.lang.String> getArgs()

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        java.io.File getChangeLogFile()

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        java.lang.String getChangeLogFileName()

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        java.io.File getChangeLogLocation()

                                                        +

                                                        +
                                                      • +
                                                      + + + + + +
                                                        +
                                                      • +

                                                        java.lang.String getConfigPrefix()

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        java.lang.String getContexts()

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        boolean hasOption(java.lang.String name)

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        boolean isTimeFormat(java.lang.String time)

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        java.lang.String optionValue(java.lang.String name)

                                                        +

                                                        +
                                                      • +
                                                      + + + + + +
                                                        +
                                                      • +

                                                        java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        java.io.File resolveChangeLogFile(java.lang.String filename)

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                        +

                                                        +
                                                      • +
                                                      + + +
                                                        +
                                                      • +

                                                        void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                        +

                                                        +
                                                      • +
                                                      + +
                                                    • +
                                                    + +
                                                  • +
                                                  +
                                                  + + + +
                                                  + + + + + +
                                                  + + +
                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#defaultSchema b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#defaultSchema new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#defaultSchema @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                  + + + + + +
                                                  + + + + + +
                                                  + +
                                                  Package: org.grails.plugins.databasemigration.command
                                                  + +

                                                  [Groovy] Trait DatabaseMigrationCommand

                                                  +
                                                  +
                                                  +
                                                    +
                                                    • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                    +
                                                    +
                                                      +
                                                    • + + + +
                                                      +
                                                      + +
                                                      @groovy.transform.Trait
                                                      +@groovy.transform.CompileStatic
                                                      +trait DatabaseMigrationCommand
                                                      +extends java.lang.Object
                                                      + +
                                                    • +
                                                    +
                                                    + +
                                                    + +
                                                    + +
                                                    +
                                                      +
                                                    • + + + + + + +
                                                        +
                                                      • + + +

                                                        Property Detail

                                                        + + + + + +
                                                          +
                                                        • +

                                                          java.lang.String contexts

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          java.lang.String dataSource

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          java.lang.String defaultSchema

                                                          +

                                                          +
                                                        • +
                                                        + +
                                                      • +
                                                      + + + + + + + + + +
                                                        +
                                                      • + + +

                                                        Method Detail

                                                        + + +
                                                          +
                                                        • +

                                                          void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          void configureDatabase(Database database)

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                          +

                                                          +
                                                        • +
                                                        + + + + + +
                                                          +
                                                        • +

                                                          void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          java.util.List<java.lang.String> getArgs()

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          java.io.File getChangeLogFile()

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          java.lang.String getChangeLogFileName()

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          java.io.File getChangeLogLocation()

                                                          +

                                                          +
                                                        • +
                                                        + + + + + +
                                                          +
                                                        • +

                                                          java.lang.String getConfigPrefix()

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          java.lang.String getContexts()

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          boolean hasOption(java.lang.String name)

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          boolean isTimeFormat(java.lang.String time)

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          java.lang.String optionValue(java.lang.String name)

                                                          +

                                                          +
                                                        • +
                                                        + + + + + +
                                                          +
                                                        • +

                                                          java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          java.io.File resolveChangeLogFile(java.lang.String filename)

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                          +

                                                          +
                                                        • +
                                                        + + +
                                                          +
                                                        • +

                                                          void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                          +

                                                          +
                                                        • +
                                                        + +
                                                      • +
                                                      + +
                                                    • +
                                                    +
                                                    + + + +
                                                    + + + + + +
                                                    + + +
                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#doDiffToChangeLog(java.io.File, liquibase.database.Database, liquibase.database.Database) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#doDiffToChangeLog(java.io.File, liquibase.database.Database, liquibase.database.Database) new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#doDiffToChangeLog(java.io.File, liquibase.database.Database, liquibase.database.Database) @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                    + + + + + +
                                                    + + + + + +
                                                    + +
                                                    Package: org.grails.plugins.databasemigration.command
                                                    + +

                                                    [Groovy] Trait DatabaseMigrationCommand

                                                    +
                                                    +
                                                    +
                                                      +
                                                      • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                      +
                                                      +
                                                        +
                                                      • + + + +
                                                        +
                                                        + +
                                                        @groovy.transform.Trait
                                                        +@groovy.transform.CompileStatic
                                                        +trait DatabaseMigrationCommand
                                                        +extends java.lang.Object
                                                        + +
                                                      • +
                                                      +
                                                      + +
                                                      + +
                                                      + +
                                                      +
                                                        +
                                                      • + + + + + + +
                                                          +
                                                        • + + +

                                                          Property Detail

                                                          + + + + + +
                                                            +
                                                          • +

                                                            java.lang.String contexts

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            java.lang.String dataSource

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            java.lang.String defaultSchema

                                                            +

                                                            +
                                                          • +
                                                          + +
                                                        • +
                                                        + + + + + + + + + +
                                                          +
                                                        • + + +

                                                          Method Detail

                                                          + + +
                                                            +
                                                          • +

                                                            void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            void configureDatabase(Database database)

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                            +

                                                            +
                                                          • +
                                                          + + + + + +
                                                            +
                                                          • +

                                                            void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            java.util.List<java.lang.String> getArgs()

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            java.io.File getChangeLogFile()

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            java.lang.String getChangeLogFileName()

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            java.io.File getChangeLogLocation()

                                                            +

                                                            +
                                                          • +
                                                          + + + + + +
                                                            +
                                                          • +

                                                            java.lang.String getConfigPrefix()

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            java.lang.String getContexts()

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            boolean hasOption(java.lang.String name)

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            boolean isTimeFormat(java.lang.String time)

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            java.lang.String optionValue(java.lang.String name)

                                                            +

                                                            +
                                                          • +
                                                          + + + + + +
                                                            +
                                                          • +

                                                            java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            java.io.File resolveChangeLogFile(java.lang.String filename)

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                            +

                                                            +
                                                          • +
                                                          + + +
                                                            +
                                                          • +

                                                            void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                            +

                                                            +
                                                          • +
                                                          + +
                                                        • +
                                                        + +
                                                      • +
                                                      +
                                                      + + + +
                                                      + + + + + +
                                                      + + +
                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#doGenerateChangeLog(java.io.File, liquibase.database.Database) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#doGenerateChangeLog(java.io.File, liquibase.database.Database) new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#doGenerateChangeLog(java.io.File, liquibase.database.Database) @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                      + + + + + +
                                                      + + + + + +
                                                      + +
                                                      Package: org.grails.plugins.databasemigration.command
                                                      + +

                                                      [Groovy] Trait DatabaseMigrationCommand

                                                      +
                                                      +
                                                      +
                                                        +
                                                        • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                        +
                                                        +
                                                          +
                                                        • + + + +
                                                          +
                                                          + +
                                                          @groovy.transform.Trait
                                                          +@groovy.transform.CompileStatic
                                                          +trait DatabaseMigrationCommand
                                                          +extends java.lang.Object
                                                          + +
                                                        • +
                                                        +
                                                        + +
                                                        + +
                                                        + +
                                                        +
                                                          +
                                                        • + + + + + + +
                                                            +
                                                          • + + +

                                                            Property Detail

                                                            + + + + + +
                                                              +
                                                            • +

                                                              java.lang.String contexts

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              java.lang.String dataSource

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              java.lang.String defaultSchema

                                                              +

                                                              +
                                                            • +
                                                            + +
                                                          • +
                                                          + + + + + + + + + +
                                                            +
                                                          • + + +

                                                            Method Detail

                                                            + + +
                                                              +
                                                            • +

                                                              void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              void configureDatabase(Database database)

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                              +

                                                              +
                                                            • +
                                                            + + + + + +
                                                              +
                                                            • +

                                                              void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              java.util.List<java.lang.String> getArgs()

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              java.io.File getChangeLogFile()

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              java.lang.String getChangeLogFileName()

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              java.io.File getChangeLogLocation()

                                                              +

                                                              +
                                                            • +
                                                            + + + + + +
                                                              +
                                                            • +

                                                              java.lang.String getConfigPrefix()

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              java.lang.String getContexts()

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              boolean hasOption(java.lang.String name)

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              boolean isTimeFormat(java.lang.String time)

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              java.lang.String optionValue(java.lang.String name)

                                                              +

                                                              +
                                                            • +
                                                            + + + + + +
                                                              +
                                                            • +

                                                              java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              java.io.File resolveChangeLogFile(java.lang.String filename)

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                              +

                                                              +
                                                            • +
                                                            + + +
                                                              +
                                                            • +

                                                              void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                              +

                                                              +
                                                            • +
                                                            + +
                                                          • +
                                                          + +
                                                        • +
                                                        +
                                                        + + + +
                                                        + + + + + +
                                                        + + +
                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#doGeneratePreviousChangesetSql(java.io.Writer, liquibase.database.Database, liquibase.Liquibase, java.lang.String, java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#doGeneratePreviousChangesetSql(java.io.Writer, liquibase.database.Database, liquibase.Liquibase, java.lang.String, java.lang.String) new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#doGeneratePreviousChangesetSql(java.io.Writer, liquibase.database.Database, liquibase.Liquibase, java.lang.String, java.lang.String) @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                        + + + + + +
                                                        + + + + + +
                                                        + +
                                                        Package: org.grails.plugins.databasemigration.command
                                                        + +

                                                        [Groovy] Trait DatabaseMigrationCommand

                                                        +
                                                        +
                                                        +
                                                          +
                                                          • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                          +
                                                          +
                                                            +
                                                          • + + + +
                                                            +
                                                            + +
                                                            @groovy.transform.Trait
                                                            +@groovy.transform.CompileStatic
                                                            +trait DatabaseMigrationCommand
                                                            +extends java.lang.Object
                                                            + +
                                                          • +
                                                          +
                                                          + +
                                                          + +
                                                          + +
                                                          +
                                                            +
                                                          • + + + + + + +
                                                              +
                                                            • + + +

                                                              Property Detail

                                                              + + + + + +
                                                                +
                                                              • +

                                                                java.lang.String contexts

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                java.lang.String dataSource

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                java.lang.String defaultSchema

                                                                +

                                                                +
                                                              • +
                                                              + +
                                                            • +
                                                            + + + + + + + + + +
                                                              +
                                                            • + + +

                                                              Method Detail

                                                              + + +
                                                                +
                                                              • +

                                                                void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                void configureDatabase(Database database)

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                +

                                                                +
                                                              • +
                                                              + + + + + +
                                                                +
                                                              • +

                                                                void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                java.util.List<java.lang.String> getArgs()

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                java.io.File getChangeLogFile()

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                java.lang.String getChangeLogFileName()

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                java.io.File getChangeLogLocation()

                                                                +

                                                                +
                                                              • +
                                                              + + + + + +
                                                                +
                                                              • +

                                                                java.lang.String getConfigPrefix()

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                java.lang.String getContexts()

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                boolean hasOption(java.lang.String name)

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                boolean isTimeFormat(java.lang.String time)

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                java.lang.String optionValue(java.lang.String name)

                                                                +

                                                                +
                                                              • +
                                                              + + + + + +
                                                                +
                                                              • +

                                                                java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                +

                                                                +
                                                              • +
                                                              + + +
                                                                +
                                                              • +

                                                                void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                +

                                                                +
                                                              • +
                                                              + +
                                                            • +
                                                            + +
                                                          • +
                                                          +
                                                          + + + +
                                                          + + + + + +
                                                          + + +
                                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getArgs() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getArgs() new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getArgs() @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                          + + + + + +
                                                          + + + + + +
                                                          + +
                                                          Package: org.grails.plugins.databasemigration.command
                                                          + +

                                                          [Groovy] Trait DatabaseMigrationCommand

                                                          +
                                                          +
                                                          +
                                                            +
                                                            • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                            +
                                                            +
                                                              +
                                                            • + + + +
                                                              +
                                                              + +
                                                              @groovy.transform.Trait
                                                              +@groovy.transform.CompileStatic
                                                              +trait DatabaseMigrationCommand
                                                              +extends java.lang.Object
                                                              + +
                                                            • +
                                                            +
                                                            + +
                                                            + +
                                                            + +
                                                            +
                                                              +
                                                            • + + + + + + +
                                                                +
                                                              • + + +

                                                                Property Detail

                                                                + + + + + +
                                                                  +
                                                                • +

                                                                  java.lang.String contexts

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  java.lang.String dataSource

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  java.lang.String defaultSchema

                                                                  +

                                                                  +
                                                                • +
                                                                + +
                                                              • +
                                                              + + + + + + + + + +
                                                                +
                                                              • + + +

                                                                Method Detail

                                                                + + +
                                                                  +
                                                                • +

                                                                  void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  void configureDatabase(Database database)

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                  +

                                                                  +
                                                                • +
                                                                + + + + + +
                                                                  +
                                                                • +

                                                                  void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  java.util.List<java.lang.String> getArgs()

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  java.io.File getChangeLogFile()

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  java.lang.String getChangeLogFileName()

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  java.io.File getChangeLogLocation()

                                                                  +

                                                                  +
                                                                • +
                                                                + + + + + +
                                                                  +
                                                                • +

                                                                  java.lang.String getConfigPrefix()

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  java.lang.String getContexts()

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  boolean hasOption(java.lang.String name)

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  boolean isTimeFormat(java.lang.String time)

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  java.lang.String optionValue(java.lang.String name)

                                                                  +

                                                                  +
                                                                • +
                                                                + + + + + +
                                                                  +
                                                                • +

                                                                  java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                  +

                                                                  +
                                                                • +
                                                                + + +
                                                                  +
                                                                • +

                                                                  void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                  +

                                                                  +
                                                                • +
                                                                + +
                                                              • +
                                                              + +
                                                            • +
                                                            +
                                                            + + + +
                                                            + + + + + +
                                                            + + +
                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getChangeLogFile() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getChangeLogFile() new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getChangeLogFile() @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                            + + + + + +
                                                            + + + + + +
                                                            + +
                                                            Package: org.grails.plugins.databasemigration.command
                                                            + +

                                                            [Groovy] Trait DatabaseMigrationCommand

                                                            +
                                                            +
                                                            +
                                                              +
                                                              • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                              +
                                                              +
                                                                +
                                                              • + + + +
                                                                +
                                                                + +
                                                                @groovy.transform.Trait
                                                                +@groovy.transform.CompileStatic
                                                                +trait DatabaseMigrationCommand
                                                                +extends java.lang.Object
                                                                + +
                                                              • +
                                                              +
                                                              + +
                                                              + +
                                                              + +
                                                              +
                                                                +
                                                              • + + + + + + +
                                                                  +
                                                                • + + +

                                                                  Property Detail

                                                                  + + + + + +
                                                                    +
                                                                  • +

                                                                    java.lang.String contexts

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    java.lang.String dataSource

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    java.lang.String defaultSchema

                                                                    +

                                                                    +
                                                                  • +
                                                                  + +
                                                                • +
                                                                + + + + + + + + + +
                                                                  +
                                                                • + + +

                                                                  Method Detail

                                                                  + + +
                                                                    +
                                                                  • +

                                                                    void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    void configureDatabase(Database database)

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + + + + +
                                                                    +
                                                                  • +

                                                                    void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    java.util.List<java.lang.String> getArgs()

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    java.io.File getChangeLogFile()

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    java.lang.String getChangeLogFileName()

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    java.io.File getChangeLogLocation()

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + + + + +
                                                                    +
                                                                  • +

                                                                    java.lang.String getConfigPrefix()

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    java.lang.String getContexts()

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    boolean hasOption(java.lang.String name)

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    boolean isTimeFormat(java.lang.String time)

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    java.lang.String optionValue(java.lang.String name)

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + + + + +
                                                                    +
                                                                  • +

                                                                    java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                    +

                                                                    +
                                                                  • +
                                                                  + + +
                                                                    +
                                                                  • +

                                                                    void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                    +

                                                                    +
                                                                  • +
                                                                  + +
                                                                • +
                                                                + +
                                                              • +
                                                              +
                                                              + + + +
                                                              + + + + + +
                                                              + + +
                                                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getChangeLogFileName() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getChangeLogFileName() new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getChangeLogFileName() @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                              + + + + + +
                                                              + + + + + +
                                                              + +
                                                              Package: org.grails.plugins.databasemigration.command
                                                              + +

                                                              [Groovy] Trait DatabaseMigrationCommand

                                                              +
                                                              +
                                                              +
                                                                +
                                                                • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                                +
                                                                +
                                                                  +
                                                                • + + + +
                                                                  +
                                                                  + +
                                                                  @groovy.transform.Trait
                                                                  +@groovy.transform.CompileStatic
                                                                  +trait DatabaseMigrationCommand
                                                                  +extends java.lang.Object
                                                                  + +
                                                                • +
                                                                +
                                                                + +
                                                                + +
                                                                + +
                                                                +
                                                                  +
                                                                • + + + + + + +
                                                                    +
                                                                  • + + +

                                                                    Property Detail

                                                                    + + + + + +
                                                                      +
                                                                    • +

                                                                      java.lang.String contexts

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      java.lang.String dataSource

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      java.lang.String defaultSchema

                                                                      +

                                                                      +
                                                                    • +
                                                                    + +
                                                                  • +
                                                                  + + + + + + + + + +
                                                                    +
                                                                  • + + +

                                                                    Method Detail

                                                                    + + +
                                                                      +
                                                                    • +

                                                                      void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      void configureDatabase(Database database)

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + + + + +
                                                                      +
                                                                    • +

                                                                      void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      java.util.List<java.lang.String> getArgs()

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      java.io.File getChangeLogFile()

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      java.lang.String getChangeLogFileName()

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      java.io.File getChangeLogLocation()

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + + + + +
                                                                      +
                                                                    • +

                                                                      java.lang.String getConfigPrefix()

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      java.lang.String getContexts()

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      boolean hasOption(java.lang.String name)

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      boolean isTimeFormat(java.lang.String time)

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      java.lang.String optionValue(java.lang.String name)

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + + + + +
                                                                      +
                                                                    • +

                                                                      java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                      +

                                                                      +
                                                                    • +
                                                                    + + +
                                                                      +
                                                                    • +

                                                                      void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                      +

                                                                      +
                                                                    • +
                                                                    + +
                                                                  • +
                                                                  + +
                                                                • +
                                                                +
                                                                + + + +
                                                                + + + + + +
                                                                + + +
                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getChangeLogLocation() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getChangeLogLocation() new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getChangeLogLocation() @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                + + + + + +
                                                                + + + + + +
                                                                + +
                                                                Package: org.grails.plugins.databasemigration.command
                                                                + +

                                                                [Groovy] Trait DatabaseMigrationCommand

                                                                +
                                                                +
                                                                +
                                                                  +
                                                                  • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                                  +
                                                                  +
                                                                    +
                                                                  • + + + +
                                                                    +
                                                                    + +
                                                                    @groovy.transform.Trait
                                                                    +@groovy.transform.CompileStatic
                                                                    +trait DatabaseMigrationCommand
                                                                    +extends java.lang.Object
                                                                    + +
                                                                  • +
                                                                  +
                                                                  + +
                                                                  + +
                                                                  + +
                                                                  +
                                                                    +
                                                                  • + + + + + + +
                                                                      +
                                                                    • + + +

                                                                      Property Detail

                                                                      + + + + + +
                                                                        +
                                                                      • +

                                                                        java.lang.String contexts

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        java.lang.String dataSource

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        java.lang.String defaultSchema

                                                                        +

                                                                        +
                                                                      • +
                                                                      + +
                                                                    • +
                                                                    + + + + + + + + + +
                                                                      +
                                                                    • + + +

                                                                      Method Detail

                                                                      + + +
                                                                        +
                                                                      • +

                                                                        void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        void configureDatabase(Database database)

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + + + + +
                                                                        +
                                                                      • +

                                                                        void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        java.util.List<java.lang.String> getArgs()

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        java.io.File getChangeLogFile()

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        java.lang.String getChangeLogFileName()

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        java.io.File getChangeLogLocation()

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + + + + +
                                                                        +
                                                                      • +

                                                                        java.lang.String getConfigPrefix()

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        java.lang.String getContexts()

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        boolean hasOption(java.lang.String name)

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        boolean isTimeFormat(java.lang.String time)

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        java.lang.String optionValue(java.lang.String name)

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + + + + +
                                                                        +
                                                                      • +

                                                                        java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                        +

                                                                        +
                                                                      • +
                                                                      + + +
                                                                        +
                                                                      • +

                                                                        void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                        +

                                                                        +
                                                                      • +
                                                                      + +
                                                                    • +
                                                                    + +
                                                                  • +
                                                                  +
                                                                  + + + +
                                                                  + + + + + +
                                                                  + + +
                                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getConfig() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getConfig() new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getConfig() @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                  + + + + + +
                                                                  + + + + + +
                                                                  + +
                                                                  Package: org.grails.plugins.databasemigration.command
                                                                  + +

                                                                  [Groovy] Trait DatabaseMigrationCommand

                                                                  +
                                                                  +
                                                                  +
                                                                    +
                                                                    • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                                    +
                                                                    +
                                                                      +
                                                                    • + + + +
                                                                      +
                                                                      + +
                                                                      @groovy.transform.Trait
                                                                      +@groovy.transform.CompileStatic
                                                                      +trait DatabaseMigrationCommand
                                                                      +extends java.lang.Object
                                                                      + +
                                                                    • +
                                                                    +
                                                                    + +
                                                                    + +
                                                                    + +
                                                                    +
                                                                      +
                                                                    • + + + + + + +
                                                                        +
                                                                      • + + +

                                                                        Property Detail

                                                                        + + + + + +
                                                                          +
                                                                        • +

                                                                          java.lang.String contexts

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          java.lang.String dataSource

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          java.lang.String defaultSchema

                                                                          +

                                                                          +
                                                                        • +
                                                                        + +
                                                                      • +
                                                                      + + + + + + + + + +
                                                                        +
                                                                      • + + +

                                                                        Method Detail

                                                                        + + +
                                                                          +
                                                                        • +

                                                                          void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          void configureDatabase(Database database)

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + + + + +
                                                                          +
                                                                        • +

                                                                          void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          java.util.List<java.lang.String> getArgs()

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          java.io.File getChangeLogFile()

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          java.lang.String getChangeLogFileName()

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          java.io.File getChangeLogLocation()

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + + + + +
                                                                          +
                                                                        • +

                                                                          java.lang.String getConfigPrefix()

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          java.lang.String getContexts()

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          boolean hasOption(java.lang.String name)

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          boolean isTimeFormat(java.lang.String time)

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          java.lang.String optionValue(java.lang.String name)

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + + + + +
                                                                          +
                                                                        • +

                                                                          java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                          +

                                                                          +
                                                                        • +
                                                                        + + +
                                                                          +
                                                                        • +

                                                                          void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                          +

                                                                          +
                                                                        • +
                                                                        + +
                                                                      • +
                                                                      + +
                                                                    • +
                                                                    +
                                                                    + + + +
                                                                    + + + + + +
                                                                    + + +
                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getConfigPrefix() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getConfigPrefix() new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getConfigPrefix() @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                    + + + + + +
                                                                    + + + + + +
                                                                    + +
                                                                    Package: org.grails.plugins.databasemigration.command
                                                                    + +

                                                                    [Groovy] Trait DatabaseMigrationCommand

                                                                    +
                                                                    +
                                                                    +
                                                                      +
                                                                      • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                                      +
                                                                      +
                                                                        +
                                                                      • + + + +
                                                                        +
                                                                        + +
                                                                        @groovy.transform.Trait
                                                                        +@groovy.transform.CompileStatic
                                                                        +trait DatabaseMigrationCommand
                                                                        +extends java.lang.Object
                                                                        + +
                                                                      • +
                                                                      +
                                                                      + +
                                                                      + +
                                                                      + +
                                                                      +
                                                                        +
                                                                      • + + + + + + +
                                                                          +
                                                                        • + + +

                                                                          Property Detail

                                                                          + + + + + +
                                                                            +
                                                                          • +

                                                                            java.lang.String contexts

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            java.lang.String dataSource

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            java.lang.String defaultSchema

                                                                            +

                                                                            +
                                                                          • +
                                                                          + +
                                                                        • +
                                                                        + + + + + + + + + +
                                                                          +
                                                                        • + + +

                                                                          Method Detail

                                                                          + + +
                                                                            +
                                                                          • +

                                                                            void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            void configureDatabase(Database database)

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + + + + +
                                                                            +
                                                                          • +

                                                                            void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            java.util.List<java.lang.String> getArgs()

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            java.io.File getChangeLogFile()

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            java.lang.String getChangeLogFileName()

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            java.io.File getChangeLogLocation()

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + + + + +
                                                                            +
                                                                          • +

                                                                            java.lang.String getConfigPrefix()

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            java.lang.String getContexts()

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            boolean hasOption(java.lang.String name)

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            boolean isTimeFormat(java.lang.String time)

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            java.lang.String optionValue(java.lang.String name)

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + + + + +
                                                                            +
                                                                          • +

                                                                            java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                            +

                                                                            +
                                                                          • +
                                                                          + + +
                                                                            +
                                                                          • +

                                                                            void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                            +

                                                                            +
                                                                          • +
                                                                          + +
                                                                        • +
                                                                        + +
                                                                      • +
                                                                      +
                                                                      + + + +
                                                                      + + + + + +
                                                                      + + +
                                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getContexts() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getContexts() new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getContexts() @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                      + + + + + +
                                                                      + + + + + +
                                                                      + +
                                                                      Package: org.grails.plugins.databasemigration.command
                                                                      + +

                                                                      [Groovy] Trait DatabaseMigrationCommand

                                                                      +
                                                                      +
                                                                      +
                                                                        +
                                                                        • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                                        +
                                                                        +
                                                                          +
                                                                        • + + + +
                                                                          +
                                                                          + +
                                                                          @groovy.transform.Trait
                                                                          +@groovy.transform.CompileStatic
                                                                          +trait DatabaseMigrationCommand
                                                                          +extends java.lang.Object
                                                                          + +
                                                                        • +
                                                                        +
                                                                        + +
                                                                        + +
                                                                        + +
                                                                        +
                                                                          +
                                                                        • + + + + + + +
                                                                            +
                                                                          • + + +

                                                                            Property Detail

                                                                            + + + + + +
                                                                              +
                                                                            • +

                                                                              java.lang.String contexts

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              java.lang.String dataSource

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              java.lang.String defaultSchema

                                                                              +

                                                                              +
                                                                            • +
                                                                            + +
                                                                          • +
                                                                          + + + + + + + + + +
                                                                            +
                                                                          • + + +

                                                                            Method Detail

                                                                            + + +
                                                                              +
                                                                            • +

                                                                              void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              void configureDatabase(Database database)

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + + + + +
                                                                              +
                                                                            • +

                                                                              void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              java.util.List<java.lang.String> getArgs()

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              java.io.File getChangeLogFile()

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              java.lang.String getChangeLogFileName()

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              java.io.File getChangeLogLocation()

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + + + + +
                                                                              +
                                                                            • +

                                                                              java.lang.String getConfigPrefix()

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              java.lang.String getContexts()

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              boolean hasOption(java.lang.String name)

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              boolean isTimeFormat(java.lang.String time)

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              java.lang.String optionValue(java.lang.String name)

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + + + + +
                                                                              +
                                                                            • +

                                                                              java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                              +

                                                                              +
                                                                            • +
                                                                            + + +
                                                                              +
                                                                            • +

                                                                              void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                              +

                                                                              +
                                                                            • +
                                                                            + +
                                                                          • +
                                                                          + +
                                                                        • +
                                                                        +
                                                                        + + + +
                                                                        + + + + + +
                                                                        + + +
                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getDataSourceConfig(grails.config.ConfigMap) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getDataSourceConfig(grails.config.ConfigMap) new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#getDataSourceConfig(grails.config.ConfigMap) @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                        + + + + + +
                                                                        + + + + + +
                                                                        + +
                                                                        Package: org.grails.plugins.databasemigration.command
                                                                        + +

                                                                        [Groovy] Trait DatabaseMigrationCommand

                                                                        +
                                                                        +
                                                                        +
                                                                          +
                                                                          • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                                          +
                                                                          +
                                                                            +
                                                                          • + + + +
                                                                            +
                                                                            + +
                                                                            @groovy.transform.Trait
                                                                            +@groovy.transform.CompileStatic
                                                                            +trait DatabaseMigrationCommand
                                                                            +extends java.lang.Object
                                                                            + +
                                                                          • +
                                                                          +
                                                                          + +
                                                                          + +
                                                                          + +
                                                                          +
                                                                            +
                                                                          • + + + + + + +
                                                                              +
                                                                            • + + +

                                                                              Property Detail

                                                                              + + + + + +
                                                                                +
                                                                              • +

                                                                                java.lang.String contexts

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                java.lang.String dataSource

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                java.lang.String defaultSchema

                                                                                +

                                                                                +
                                                                              • +
                                                                              + +
                                                                            • +
                                                                            + + + + + + + + + +
                                                                              +
                                                                            • + + +

                                                                              Method Detail

                                                                              + + +
                                                                                +
                                                                              • +

                                                                                void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                void configureDatabase(Database database)

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + + + + +
                                                                                +
                                                                              • +

                                                                                void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                java.util.List<java.lang.String> getArgs()

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                java.io.File getChangeLogFile()

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                java.lang.String getChangeLogFileName()

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                java.io.File getChangeLogLocation()

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + + + + +
                                                                                +
                                                                              • +

                                                                                java.lang.String getConfigPrefix()

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                java.lang.String getContexts()

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                boolean hasOption(java.lang.String name)

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                boolean isTimeFormat(java.lang.String time)

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                java.lang.String optionValue(java.lang.String name)

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + + + + +
                                                                                +
                                                                              • +

                                                                                java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                                +

                                                                                +
                                                                              • +
                                                                              + + +
                                                                                +
                                                                              • +

                                                                                void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                                +

                                                                                +
                                                                              • +
                                                                              + +
                                                                            • +
                                                                            + +
                                                                          • +
                                                                          +
                                                                          + + + +
                                                                          + + + + + +
                                                                          + + +
                                                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#hasOption(java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#hasOption(java.lang.String) new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#hasOption(java.lang.String) @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                          + + + + + +
                                                                          + + + + + +
                                                                          + +
                                                                          Package: org.grails.plugins.databasemigration.command
                                                                          + +

                                                                          [Groovy] Trait DatabaseMigrationCommand

                                                                          +
                                                                          +
                                                                          +
                                                                            +
                                                                            • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                                            +
                                                                            +
                                                                              +
                                                                            • + + + +
                                                                              +
                                                                              + +
                                                                              @groovy.transform.Trait
                                                                              +@groovy.transform.CompileStatic
                                                                              +trait DatabaseMigrationCommand
                                                                              +extends java.lang.Object
                                                                              + +
                                                                            • +
                                                                            +
                                                                            + +
                                                                            + +
                                                                            + +
                                                                            +
                                                                              +
                                                                            • + + + + + + +
                                                                                +
                                                                              • + + +

                                                                                Property Detail

                                                                                + + + + + +
                                                                                  +
                                                                                • +

                                                                                  java.lang.String contexts

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  java.lang.String dataSource

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  java.lang.String defaultSchema

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + +
                                                                              • +
                                                                              + + + + + + + + + +
                                                                                +
                                                                              • + + +

                                                                                Method Detail

                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  void configureDatabase(Database database)

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + + + + +
                                                                                  +
                                                                                • +

                                                                                  void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  java.util.List<java.lang.String> getArgs()

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  java.io.File getChangeLogFile()

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  java.lang.String getChangeLogFileName()

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  java.io.File getChangeLogLocation()

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + + + + +
                                                                                  +
                                                                                • +

                                                                                  java.lang.String getConfigPrefix()

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  java.lang.String getContexts()

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  boolean hasOption(java.lang.String name)

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  boolean isTimeFormat(java.lang.String time)

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  java.lang.String optionValue(java.lang.String name)

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + + + + +
                                                                                  +
                                                                                • +

                                                                                  java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + + +
                                                                                  +
                                                                                • +

                                                                                  void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                                  +

                                                                                  +
                                                                                • +
                                                                                + +
                                                                              • +
                                                                              + +
                                                                            • +
                                                                            +
                                                                            + + + +
                                                                            + + + + + +
                                                                            + + +
                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#isTimeFormat(java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#isTimeFormat(java.lang.String) new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#isTimeFormat(java.lang.String) @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                            + + + + + +
                                                                            + + + + + +
                                                                            + +
                                                                            Package: org.grails.plugins.databasemigration.command
                                                                            + +

                                                                            [Groovy] Trait DatabaseMigrationCommand

                                                                            +
                                                                            +
                                                                            +
                                                                              +
                                                                              • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                                              +
                                                                              +
                                                                                +
                                                                              • + + + +
                                                                                +
                                                                                + +
                                                                                @groovy.transform.Trait
                                                                                +@groovy.transform.CompileStatic
                                                                                +trait DatabaseMigrationCommand
                                                                                +extends java.lang.Object
                                                                                + +
                                                                              • +
                                                                              +
                                                                              + +
                                                                              + +
                                                                              + +
                                                                              +
                                                                                +
                                                                              • + + + + + + +
                                                                                  +
                                                                                • + + +

                                                                                  Property Detail

                                                                                  + + + + + +
                                                                                    +
                                                                                  • +

                                                                                    java.lang.String contexts

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    java.lang.String dataSource

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    java.lang.String defaultSchema

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + +
                                                                                • +
                                                                                + + + + + + + + + +
                                                                                  +
                                                                                • + + +

                                                                                  Method Detail

                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    void configureDatabase(Database database)

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + + + + +
                                                                                    +
                                                                                  • +

                                                                                    void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    java.util.List<java.lang.String> getArgs()

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    java.io.File getChangeLogFile()

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    java.lang.String getChangeLogFileName()

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    java.io.File getChangeLogLocation()

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + + + + +
                                                                                    +
                                                                                  • +

                                                                                    java.lang.String getConfigPrefix()

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    java.lang.String getContexts()

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    boolean hasOption(java.lang.String name)

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    boolean isTimeFormat(java.lang.String time)

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    java.lang.String optionValue(java.lang.String name)

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + + + + +
                                                                                    +
                                                                                  • +

                                                                                    java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + + +
                                                                                    +
                                                                                  • +

                                                                                    void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                                    +

                                                                                    +
                                                                                  • +
                                                                                  + +
                                                                                • +
                                                                                + +
                                                                              • +
                                                                              +
                                                                              + + + +
                                                                              + + + + + +
                                                                              + + +
                                                                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#optionValue(java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#optionValue(java.lang.String) new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#optionValue(java.lang.String) @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                              + + + + + +
                                                                              + + + + + +
                                                                              + +
                                                                              Package: org.grails.plugins.databasemigration.command
                                                                              + +

                                                                              [Groovy] Trait DatabaseMigrationCommand

                                                                              +
                                                                              +
                                                                              +
                                                                                +
                                                                                • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                                                +
                                                                                +
                                                                                  +
                                                                                • + + + +
                                                                                  +
                                                                                  + +
                                                                                  @groovy.transform.Trait
                                                                                  +@groovy.transform.CompileStatic
                                                                                  +trait DatabaseMigrationCommand
                                                                                  +extends java.lang.Object
                                                                                  + +
                                                                                • +
                                                                                +
                                                                                + +
                                                                                + +
                                                                                + +
                                                                                +
                                                                                  +
                                                                                • + + + + + + +
                                                                                    +
                                                                                  • + + +

                                                                                    Property Detail

                                                                                    + + + + + +
                                                                                      +
                                                                                    • +

                                                                                      java.lang.String contexts

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      java.lang.String dataSource

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      java.lang.String defaultSchema

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + +
                                                                                  • +
                                                                                  + + + + + + + + + +
                                                                                    +
                                                                                  • + + +

                                                                                    Method Detail

                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      void configureDatabase(Database database)

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + + + + +
                                                                                      +
                                                                                    • +

                                                                                      void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      java.util.List<java.lang.String> getArgs()

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      java.io.File getChangeLogFile()

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      java.lang.String getChangeLogFileName()

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      java.io.File getChangeLogLocation()

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + + + + +
                                                                                      +
                                                                                    • +

                                                                                      java.lang.String getConfigPrefix()

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      java.lang.String getContexts()

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      boolean hasOption(java.lang.String name)

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      boolean isTimeFormat(java.lang.String time)

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      java.lang.String optionValue(java.lang.String name)

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + + + + +
                                                                                      +
                                                                                    • +

                                                                                      java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + + +
                                                                                      +
                                                                                    • +

                                                                                      void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                                      +

                                                                                      +
                                                                                    • +
                                                                                    + +
                                                                                  • +
                                                                                  + +
                                                                                • +
                                                                                +
                                                                                + + + +
                                                                                + + + + + +
                                                                                + + +
                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#outputHeader(liquibase.executor.Executor, java.lang.String, liquibase.Liquibase, liquibase.database.Database) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#outputHeader(liquibase.executor.Executor, java.lang.String, liquibase.Liquibase, liquibase.database.Database) new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#outputHeader(liquibase.executor.Executor, java.lang.String, liquibase.Liquibase, liquibase.database.Database) @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                + + + + + +
                                                                                + + + + + +
                                                                                + +
                                                                                Package: org.grails.plugins.databasemigration.command
                                                                                + +

                                                                                [Groovy] Trait DatabaseMigrationCommand

                                                                                +
                                                                                +
                                                                                +
                                                                                  +
                                                                                  • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                                                  +
                                                                                  +
                                                                                    +
                                                                                  • + + + +
                                                                                    +
                                                                                    + +
                                                                                    @groovy.transform.Trait
                                                                                    +@groovy.transform.CompileStatic
                                                                                    +trait DatabaseMigrationCommand
                                                                                    +extends java.lang.Object
                                                                                    + +
                                                                                  • +
                                                                                  +
                                                                                  + +
                                                                                  + +
                                                                                  + +
                                                                                  +
                                                                                    +
                                                                                  • + + + + + + +
                                                                                      +
                                                                                    • + + +

                                                                                      Property Detail

                                                                                      + + + + + +
                                                                                        +
                                                                                      • +

                                                                                        java.lang.String contexts

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        java.lang.String dataSource

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        java.lang.String defaultSchema

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + +
                                                                                    • +
                                                                                    + + + + + + + + + +
                                                                                      +
                                                                                    • + + +

                                                                                      Method Detail

                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        void configureDatabase(Database database)

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + + + + +
                                                                                        +
                                                                                      • +

                                                                                        void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        java.util.List<java.lang.String> getArgs()

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        java.io.File getChangeLogFile()

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        java.lang.String getChangeLogFileName()

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        java.io.File getChangeLogLocation()

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + + + + +
                                                                                        +
                                                                                      • +

                                                                                        java.lang.String getConfigPrefix()

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        java.lang.String getContexts()

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        boolean hasOption(java.lang.String name)

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        boolean isTimeFormat(java.lang.String time)

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        java.lang.String optionValue(java.lang.String name)

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + + + + +
                                                                                        +
                                                                                      • +

                                                                                        java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + + +
                                                                                        +
                                                                                      • +

                                                                                        void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                                        +

                                                                                        +
                                                                                      • +
                                                                                      + +
                                                                                    • +
                                                                                    + +
                                                                                  • +
                                                                                  +
                                                                                  + + + +
                                                                                  + + + + + +
                                                                                  + + +
                                                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#parseDateTime(java.lang.String, java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#parseDateTime(java.lang.String, java.lang.String) new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#parseDateTime(java.lang.String, java.lang.String) @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                  + + + + + +
                                                                                  + + + + + +
                                                                                  + +
                                                                                  Package: org.grails.plugins.databasemigration.command
                                                                                  + +

                                                                                  [Groovy] Trait DatabaseMigrationCommand

                                                                                  +
                                                                                  +
                                                                                  +
                                                                                    +
                                                                                    • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                                                    +
                                                                                    +
                                                                                      +
                                                                                    • + + + +
                                                                                      +
                                                                                      + +
                                                                                      @groovy.transform.Trait
                                                                                      +@groovy.transform.CompileStatic
                                                                                      +trait DatabaseMigrationCommand
                                                                                      +extends java.lang.Object
                                                                                      + +
                                                                                    • +
                                                                                    +
                                                                                    + +
                                                                                    + +
                                                                                    + +
                                                                                    +
                                                                                      +
                                                                                    • + + + + + + +
                                                                                        +
                                                                                      • + + +

                                                                                        Property Detail

                                                                                        + + + + + +
                                                                                          +
                                                                                        • +

                                                                                          java.lang.String contexts

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          java.lang.String dataSource

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          java.lang.String defaultSchema

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + +
                                                                                      • +
                                                                                      + + + + + + + + + +
                                                                                        +
                                                                                      • + + +

                                                                                        Method Detail

                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          void configureDatabase(Database database)

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + + + + +
                                                                                          +
                                                                                        • +

                                                                                          void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          java.util.List<java.lang.String> getArgs()

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          java.io.File getChangeLogFile()

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          java.lang.String getChangeLogFileName()

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          java.io.File getChangeLogLocation()

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + + + + +
                                                                                          +
                                                                                        • +

                                                                                          java.lang.String getConfigPrefix()

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          java.lang.String getContexts()

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          boolean hasOption(java.lang.String name)

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          boolean isTimeFormat(java.lang.String time)

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          java.lang.String optionValue(java.lang.String name)

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + + + + +
                                                                                          +
                                                                                        • +

                                                                                          java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + + +
                                                                                          +
                                                                                        • +

                                                                                          void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                                          +

                                                                                          +
                                                                                        • +
                                                                                        + +
                                                                                      • +
                                                                                      + +
                                                                                    • +
                                                                                    +
                                                                                    + + + +
                                                                                    + + + + + +
                                                                                    + + +
                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#resolveChangeLogFile(java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#resolveChangeLogFile(java.lang.String) new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#resolveChangeLogFile(java.lang.String) @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                    + + + + + +
                                                                                    + + + + + +
                                                                                    + +
                                                                                    Package: org.grails.plugins.databasemigration.command
                                                                                    + +

                                                                                    [Groovy] Trait DatabaseMigrationCommand

                                                                                    +
                                                                                    +
                                                                                    +
                                                                                      +
                                                                                      • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                                                      +
                                                                                      +
                                                                                        +
                                                                                      • + + + +
                                                                                        +
                                                                                        + +
                                                                                        @groovy.transform.Trait
                                                                                        +@groovy.transform.CompileStatic
                                                                                        +trait DatabaseMigrationCommand
                                                                                        +extends java.lang.Object
                                                                                        + +
                                                                                      • +
                                                                                      +
                                                                                      + +
                                                                                      + +
                                                                                      + +
                                                                                      +
                                                                                        +
                                                                                      • + + + + + + +
                                                                                          +
                                                                                        • + + +

                                                                                          Property Detail

                                                                                          + + + + + +
                                                                                            +
                                                                                          • +

                                                                                            java.lang.String contexts

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            java.lang.String dataSource

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            java.lang.String defaultSchema

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + +
                                                                                        • +
                                                                                        + + + + + + + + + +
                                                                                          +
                                                                                        • + + +

                                                                                          Method Detail

                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            void configureDatabase(Database database)

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + + + + +
                                                                                            +
                                                                                          • +

                                                                                            void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            java.util.List<java.lang.String> getArgs()

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            java.io.File getChangeLogFile()

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            java.lang.String getChangeLogFileName()

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            java.io.File getChangeLogLocation()

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + + + + +
                                                                                            +
                                                                                          • +

                                                                                            java.lang.String getConfigPrefix()

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            java.lang.String getContexts()

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            boolean hasOption(java.lang.String name)

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            boolean isTimeFormat(java.lang.String time)

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            java.lang.String optionValue(java.lang.String name)

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + + + + +
                                                                                            +
                                                                                          • +

                                                                                            java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + + +
                                                                                            +
                                                                                          • +

                                                                                            void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                                            +

                                                                                            +
                                                                                          • +
                                                                                          + +
                                                                                        • +
                                                                                        + +
                                                                                      • +
                                                                                      +
                                                                                      + + + +
                                                                                      + + + + + +
                                                                                      + + +
                                                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#withDatabase(Map, groovy.lang.Closure) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#withDatabase(Map, groovy.lang.Closure) new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#withDatabase(Map, groovy.lang.Closure) @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                      + + + + + +
                                                                                      + + + + + +
                                                                                      + +
                                                                                      Package: org.grails.plugins.databasemigration.command
                                                                                      + +

                                                                                      [Groovy] Trait DatabaseMigrationCommand

                                                                                      +
                                                                                      +
                                                                                      +
                                                                                        +
                                                                                        • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                                                        +
                                                                                        +
                                                                                          +
                                                                                        • + + + +
                                                                                          +
                                                                                          + +
                                                                                          @groovy.transform.Trait
                                                                                          +@groovy.transform.CompileStatic
                                                                                          +trait DatabaseMigrationCommand
                                                                                          +extends java.lang.Object
                                                                                          + +
                                                                                        • +
                                                                                        +
                                                                                        + +
                                                                                        + +
                                                                                        + +
                                                                                        +
                                                                                          +
                                                                                        • + + + + + + +
                                                                                            +
                                                                                          • + + +

                                                                                            Property Detail

                                                                                            + + + + + +
                                                                                              +
                                                                                            • +

                                                                                              java.lang.String contexts

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              java.lang.String dataSource

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              java.lang.String defaultSchema

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + +
                                                                                          • +
                                                                                          + + + + + + + + + +
                                                                                            +
                                                                                          • + + +

                                                                                            Method Detail

                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              void configureDatabase(Database database)

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + + + + +
                                                                                              +
                                                                                            • +

                                                                                              void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              java.util.List<java.lang.String> getArgs()

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              java.io.File getChangeLogFile()

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              java.lang.String getChangeLogFileName()

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              java.io.File getChangeLogLocation()

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + + + + +
                                                                                              +
                                                                                            • +

                                                                                              java.lang.String getConfigPrefix()

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              java.lang.String getContexts()

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              boolean hasOption(java.lang.String name)

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              boolean isTimeFormat(java.lang.String time)

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              java.lang.String optionValue(java.lang.String name)

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + + + + +
                                                                                              +
                                                                                            • +

                                                                                              java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + + +
                                                                                              +
                                                                                            • +

                                                                                              void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                                              +

                                                                                              +
                                                                                            • +
                                                                                            + +
                                                                                          • +
                                                                                          + +
                                                                                        • +
                                                                                        +
                                                                                        + + + +
                                                                                        + + + + + +
                                                                                        + + +
                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#withFileOrSystemOutWriter(java.lang.String, groovy.lang.Closure) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#withFileOrSystemOutWriter(java.lang.String, groovy.lang.Closure) new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#withFileOrSystemOutWriter(java.lang.String, groovy.lang.Closure) @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                        + + + + + +
                                                                                        + + + + + +
                                                                                        + +
                                                                                        Package: org.grails.plugins.databasemigration.command
                                                                                        + +

                                                                                        [Groovy] Trait DatabaseMigrationCommand

                                                                                        +
                                                                                        +
                                                                                        +
                                                                                          +
                                                                                          • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                                                          +
                                                                                          +
                                                                                            +
                                                                                          • + + + +
                                                                                            +
                                                                                            + +
                                                                                            @groovy.transform.Trait
                                                                                            +@groovy.transform.CompileStatic
                                                                                            +trait DatabaseMigrationCommand
                                                                                            +extends java.lang.Object
                                                                                            + +
                                                                                          • +
                                                                                          +
                                                                                          + +
                                                                                          + +
                                                                                          + +
                                                                                          +
                                                                                            +
                                                                                          • + + + + + + +
                                                                                              +
                                                                                            • + + +

                                                                                              Property Detail

                                                                                              + + + + + +
                                                                                                +
                                                                                              • +

                                                                                                java.lang.String contexts

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                java.lang.String dataSource

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                java.lang.String defaultSchema

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + +
                                                                                            • +
                                                                                            + + + + + + + + + +
                                                                                              +
                                                                                            • + + +

                                                                                              Method Detail

                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                void configureDatabase(Database database)

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + + + + +
                                                                                                +
                                                                                              • +

                                                                                                void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                java.util.List<java.lang.String> getArgs()

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                java.io.File getChangeLogFile()

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                java.lang.String getChangeLogFileName()

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                java.io.File getChangeLogLocation()

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + + + + +
                                                                                                +
                                                                                              • +

                                                                                                java.lang.String getConfigPrefix()

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                java.lang.String getContexts()

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                boolean hasOption(java.lang.String name)

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                boolean isTimeFormat(java.lang.String time)

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                java.lang.String optionValue(java.lang.String name)

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + + + + +
                                                                                                +
                                                                                              • +

                                                                                                java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + + +
                                                                                                +
                                                                                              • +

                                                                                                void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                                                +

                                                                                                +
                                                                                              • +
                                                                                              + +
                                                                                            • +
                                                                                            + +
                                                                                          • +
                                                                                          +
                                                                                          + + + +
                                                                                          + + + + + +
                                                                                          + + +
                                                                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#withLiquibase(groovy.lang.Closure) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#withLiquibase(groovy.lang.Closure) new file mode 100644 index 000000000000..174e6333ccd9 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DatabaseMigrationCommand.html#withLiquibase(groovy.lang.Closure) @@ -0,0 +1,662 @@ + + + + + + + + + + + DatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                          + + + + + +
                                                                                          + + + + + +
                                                                                          + +
                                                                                          Package: org.grails.plugins.databasemigration.command
                                                                                          + +

                                                                                          [Groovy] Trait DatabaseMigrationCommand

                                                                                          +
                                                                                          +
                                                                                          +
                                                                                            +
                                                                                            • org.grails.plugins.databasemigration.command.DatabaseMigrationCommand +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                            • + + + +
                                                                                              +
                                                                                              + +
                                                                                              @groovy.transform.Trait
                                                                                              +@groovy.transform.CompileStatic
                                                                                              +trait DatabaseMigrationCommand
                                                                                              +extends java.lang.Object
                                                                                              + +
                                                                                            • +
                                                                                            +
                                                                                            + +
                                                                                            + +
                                                                                            + +
                                                                                            +
                                                                                              +
                                                                                            • + + + + + + +
                                                                                                +
                                                                                              • + + +

                                                                                                Property Detail

                                                                                                + + + + + +
                                                                                                  +
                                                                                                • +

                                                                                                  java.lang.String contexts

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  java.lang.String dataSource

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  java.lang.String defaultSchema

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + +
                                                                                              • +
                                                                                              + + + + + + + + + +
                                                                                                +
                                                                                              • + + +

                                                                                                Method Detail

                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  void appendToChangeLog(java.io.File srcChangeLogFile, java.io.File destChangeLogFile)

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  void configureDatabase(Database database)

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  @groovy.transform.CompileDynamic +Database createDatabase(java.lang.String defaultSchema, java.lang.String dataSource, java.util.Map<java.lang.String, java.lang.String> dataSourceConfig)

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + + + + +
                                                                                                  +
                                                                                                • +

                                                                                                  void doDiffToChangeLog(java.io.File changeLogFile, Database referenceDatabase, Database targetDatabase)

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  void doGenerateChangeLog(java.io.File changeLogFile, Database originalDatabase)

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  void doGeneratePreviousChangesetSql(java.io.Writer output, Database database, Liquibase liquibase, java.lang.String count, java.lang.String skip)

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  java.util.List<java.lang.String> getArgs()

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  java.io.File getChangeLogFile()

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  java.lang.String getChangeLogFileName()

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  java.io.File getChangeLogLocation()

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + + + + +
                                                                                                  +
                                                                                                • +

                                                                                                  java.lang.String getConfigPrefix()

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  java.lang.String getContexts()

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  java.util.Map<java.lang.String, java.lang.String> getDataSourceConfig(ConfigMap config)

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  boolean hasOption(java.lang.String name)

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  boolean isTimeFormat(java.lang.String time)

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  java.lang.String optionValue(java.lang.String name)

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + + + + +
                                                                                                  +
                                                                                                • +

                                                                                                  java.util.Date parseDateTime(java.lang.String date, java.lang.String time)

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  java.io.File resolveChangeLogFile(java.lang.String filename)

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  void withDatabase(java.util.Map<java.lang.String, java.lang.String> dataSourceConfig, @groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.database.Database) groovy.lang.Closure closure)

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  void withFileOrSystemOutWriter(java.lang.String filename, @groovy.transform.stc.ClosureParams(value: SimpleType, options: java.io.Writer) groovy.lang.Closure closure)

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + + +
                                                                                                  +
                                                                                                • +

                                                                                                  void withLiquibase(@groovy.transform.stc.ClosureParams(value: SimpleType, options: liquibase.Liquibase) groovy.lang.Closure closure)

                                                                                                  +

                                                                                                  +
                                                                                                • +
                                                                                                + +
                                                                                              • +
                                                                                              + +
                                                                                            • +
                                                                                            +
                                                                                            + + + +
                                                                                            + + + + + +
                                                                                            + + +
                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmChangelogToGroovy.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmChangelogToGroovy.html new file mode 100644 index 000000000000..6b7cb9fb615f --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmChangelogToGroovy.html @@ -0,0 +1,307 @@ + + + + + + + + + + + DbmChangelogToGroovy (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                            + + + + + +
                                                                                            + + + + + +
                                                                                            + +
                                                                                            Package: org.grails.plugins.databasemigration.command
                                                                                            + +

                                                                                            [Groovy] Class DbmChangelogToGroovy

                                                                                            +
                                                                                            +
                                                                                            +
                                                                                              +
                                                                                              • org.grails.plugins.databasemigration.command.DbmChangelogToGroovy +
                                                                                              +
                                                                                              + +
                                                                                              + +
                                                                                              +
                                                                                                +
                                                                                              • + + + + + + + + + + + + + + + + +
                                                                                                  +
                                                                                                • +

                                                                                                  Constructor Summary

                                                                                                  + +
                                                                                                • +
                                                                                                + + + + +
                                                                                                  + +
                                                                                                • +

                                                                                                  Methods Summary

                                                                                                  +
                                                                                                    + + + + + + + + + + + + + + +
                                                                                                    Methods 
                                                                                                    Type ParamsReturn TypeName and description
                                                                                                    voidhandle()
                                                                                                    +
                                                                                                  +
                                                                                                • + +
                                                                                                • +

                                                                                                  Inherited Methods Summary

                                                                                                  +
                                                                                                    + + + + + + + + + + + +
                                                                                                    Inherited Methods 
                                                                                                    Methods inherited from className
                                                                                                    class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                    +
                                                                                                  +
                                                                                                • + +
                                                                                                + +
                                                                                              • +
                                                                                              +
                                                                                              + +
                                                                                              +
                                                                                                +
                                                                                              • + + + + + + + + + + +
                                                                                                  +
                                                                                                • + + +

                                                                                                  Constructor Detail

                                                                                                  + + +
                                                                                                    +
                                                                                                  • +

                                                                                                    DbmChangelogToGroovy()

                                                                                                    +

                                                                                                    +
                                                                                                  • +
                                                                                                  + +
                                                                                                • +
                                                                                                + + + + + +
                                                                                                  +
                                                                                                • + + +

                                                                                                  Method Detail

                                                                                                  + + +
                                                                                                    +
                                                                                                  • +

                                                                                                    @java.lang.Override +void handle()

                                                                                                    +

                                                                                                    +
                                                                                                  • +
                                                                                                  + +
                                                                                                • +
                                                                                                + +
                                                                                              • +
                                                                                              +
                                                                                              + + + +
                                                                                              + + + + + +
                                                                                              + + +
                                                                                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmChangelogToGroovy.html#DbmChangelogToGroovy() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmChangelogToGroovy.html#DbmChangelogToGroovy() new file mode 100644 index 000000000000..6b7cb9fb615f --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmChangelogToGroovy.html#DbmChangelogToGroovy() @@ -0,0 +1,307 @@ + + + + + + + + + + + DbmChangelogToGroovy (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                              + + + + + +
                                                                                              + + + + + +
                                                                                              + +
                                                                                              Package: org.grails.plugins.databasemigration.command
                                                                                              + +

                                                                                              [Groovy] Class DbmChangelogToGroovy

                                                                                              +
                                                                                              +
                                                                                              +
                                                                                                +
                                                                                                • org.grails.plugins.databasemigration.command.DbmChangelogToGroovy +
                                                                                                +
                                                                                                + +
                                                                                                + +
                                                                                                +
                                                                                                  +
                                                                                                • + + + + + + + + + + + + + + + + +
                                                                                                    +
                                                                                                  • +

                                                                                                    Constructor Summary

                                                                                                    + +
                                                                                                  • +
                                                                                                  + + + + +
                                                                                                    + +
                                                                                                  • +

                                                                                                    Methods Summary

                                                                                                    +
                                                                                                      + + + + + + + + + + + + + + +
                                                                                                      Methods 
                                                                                                      Type ParamsReturn TypeName and description
                                                                                                      voidhandle()
                                                                                                      +
                                                                                                    +
                                                                                                  • + +
                                                                                                  • +

                                                                                                    Inherited Methods Summary

                                                                                                    +
                                                                                                      + + + + + + + + + + + +
                                                                                                      Inherited Methods 
                                                                                                      Methods inherited from className
                                                                                                      class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                      +
                                                                                                    +
                                                                                                  • + +
                                                                                                  + +
                                                                                                • +
                                                                                                +
                                                                                                + +
                                                                                                +
                                                                                                  +
                                                                                                • + + + + + + + + + + +
                                                                                                    +
                                                                                                  • + + +

                                                                                                    Constructor Detail

                                                                                                    + + +
                                                                                                      +
                                                                                                    • +

                                                                                                      DbmChangelogToGroovy()

                                                                                                      +

                                                                                                      +
                                                                                                    • +
                                                                                                    + +
                                                                                                  • +
                                                                                                  + + + + + +
                                                                                                    +
                                                                                                  • + + +

                                                                                                    Method Detail

                                                                                                    + + +
                                                                                                      +
                                                                                                    • +

                                                                                                      @java.lang.Override +void handle()

                                                                                                      +

                                                                                                      +
                                                                                                    • +
                                                                                                    + +
                                                                                                  • +
                                                                                                  + +
                                                                                                • +
                                                                                                +
                                                                                                + + + +
                                                                                                + + + + + +
                                                                                                + + +
                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmChangelogToGroovy.html#handle() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmChangelogToGroovy.html#handle() new file mode 100644 index 000000000000..6b7cb9fb615f --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmChangelogToGroovy.html#handle() @@ -0,0 +1,307 @@ + + + + + + + + + + + DbmChangelogToGroovy (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                + + + + + +
                                                                                                + + + + + +
                                                                                                + +
                                                                                                Package: org.grails.plugins.databasemigration.command
                                                                                                + +

                                                                                                [Groovy] Class DbmChangelogToGroovy

                                                                                                +
                                                                                                +
                                                                                                +
                                                                                                  +
                                                                                                  • org.grails.plugins.databasemigration.command.DbmChangelogToGroovy +
                                                                                                  +
                                                                                                  + +
                                                                                                  + +
                                                                                                  +
                                                                                                    +
                                                                                                  • + + + + + + + + + + + + + + + + +
                                                                                                      +
                                                                                                    • +

                                                                                                      Constructor Summary

                                                                                                      + +
                                                                                                    • +
                                                                                                    + + + + +
                                                                                                      + +
                                                                                                    • +

                                                                                                      Methods Summary

                                                                                                      +
                                                                                                        + + + + + + + + + + + + + + +
                                                                                                        Methods 
                                                                                                        Type ParamsReturn TypeName and description
                                                                                                        voidhandle()
                                                                                                        +
                                                                                                      +
                                                                                                    • + +
                                                                                                    • +

                                                                                                      Inherited Methods Summary

                                                                                                      +
                                                                                                        + + + + + + + + + + + +
                                                                                                        Inherited Methods 
                                                                                                        Methods inherited from className
                                                                                                        class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                        +
                                                                                                      +
                                                                                                    • + +
                                                                                                    + +
                                                                                                  • +
                                                                                                  +
                                                                                                  + +
                                                                                                  +
                                                                                                    +
                                                                                                  • + + + + + + + + + + +
                                                                                                      +
                                                                                                    • + + +

                                                                                                      Constructor Detail

                                                                                                      + + +
                                                                                                        +
                                                                                                      • +

                                                                                                        DbmChangelogToGroovy()

                                                                                                        +

                                                                                                        +
                                                                                                      • +
                                                                                                      + +
                                                                                                    • +
                                                                                                    + + + + + +
                                                                                                      +
                                                                                                    • + + +

                                                                                                      Method Detail

                                                                                                      + + +
                                                                                                        +
                                                                                                      • +

                                                                                                        @java.lang.Override +void handle()

                                                                                                        +

                                                                                                        +
                                                                                                      • +
                                                                                                      + +
                                                                                                    • +
                                                                                                    + +
                                                                                                  • +
                                                                                                  +
                                                                                                  + + + +
                                                                                                  + + + + + +
                                                                                                  + + +
                                                                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmCreateChangelog.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmCreateChangelog.html new file mode 100644 index 000000000000..4119d98eb962 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmCreateChangelog.html @@ -0,0 +1,307 @@ + + + + + + + + + + + DbmCreateChangelog (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                  + + + + + +
                                                                                                  + + + + + +
                                                                                                  + +
                                                                                                  Package: org.grails.plugins.databasemigration.command
                                                                                                  + +

                                                                                                  [Groovy] Class DbmCreateChangelog

                                                                                                  +
                                                                                                  +
                                                                                                  +
                                                                                                    +
                                                                                                    • org.grails.plugins.databasemigration.command.DbmCreateChangelog +
                                                                                                    +
                                                                                                    + +
                                                                                                    + +
                                                                                                    +
                                                                                                      +
                                                                                                    • + + + + + + + + + + + + + + + + +
                                                                                                        +
                                                                                                      • +

                                                                                                        Constructor Summary

                                                                                                        +
                                                                                                          + + + + + + + + + + +
                                                                                                          Constructors 
                                                                                                          Constructor and description
                                                                                                          + DbmCreateChangelog + ()
                                                                                                          +
                                                                                                        +
                                                                                                      • +
                                                                                                      + + + + +
                                                                                                        + +
                                                                                                      • +

                                                                                                        Methods Summary

                                                                                                        +
                                                                                                          + + + + + + + + + + + + + + +
                                                                                                          Methods 
                                                                                                          Type ParamsReturn TypeName and description
                                                                                                          voidhandle()
                                                                                                          +
                                                                                                        +
                                                                                                      • + +
                                                                                                      • +

                                                                                                        Inherited Methods Summary

                                                                                                        +
                                                                                                          + + + + + + + + + + + +
                                                                                                          Inherited Methods 
                                                                                                          Methods inherited from className
                                                                                                          class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                          +
                                                                                                        +
                                                                                                      • + +
                                                                                                      + +
                                                                                                    • +
                                                                                                    +
                                                                                                    + +
                                                                                                    +
                                                                                                      +
                                                                                                    • + + + + + + + + + + +
                                                                                                        +
                                                                                                      • + + +

                                                                                                        Constructor Detail

                                                                                                        + + +
                                                                                                          +
                                                                                                        • +

                                                                                                          DbmCreateChangelog()

                                                                                                          +

                                                                                                          +
                                                                                                        • +
                                                                                                        + +
                                                                                                      • +
                                                                                                      + + + + + +
                                                                                                        +
                                                                                                      • + + +

                                                                                                        Method Detail

                                                                                                        + + +
                                                                                                          +
                                                                                                        • +

                                                                                                          @java.lang.Override +void handle()

                                                                                                          +

                                                                                                          +
                                                                                                        • +
                                                                                                        + +
                                                                                                      • +
                                                                                                      + +
                                                                                                    • +
                                                                                                    +
                                                                                                    + + + +
                                                                                                    + + + + + +
                                                                                                    + + +
                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmCreateChangelog.html#DbmCreateChangelog() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmCreateChangelog.html#DbmCreateChangelog() new file mode 100644 index 000000000000..4119d98eb962 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmCreateChangelog.html#DbmCreateChangelog() @@ -0,0 +1,307 @@ + + + + + + + + + + + DbmCreateChangelog (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                    + + + + + +
                                                                                                    + + + + + +
                                                                                                    + +
                                                                                                    Package: org.grails.plugins.databasemigration.command
                                                                                                    + +

                                                                                                    [Groovy] Class DbmCreateChangelog

                                                                                                    +
                                                                                                    +
                                                                                                    +
                                                                                                      +
                                                                                                      • org.grails.plugins.databasemigration.command.DbmCreateChangelog +
                                                                                                      +
                                                                                                      + +
                                                                                                      + +
                                                                                                      +
                                                                                                        +
                                                                                                      • + + + + + + + + + + + + + + + + +
                                                                                                          +
                                                                                                        • +

                                                                                                          Constructor Summary

                                                                                                          +
                                                                                                            + + + + + + + + + + +
                                                                                                            Constructors 
                                                                                                            Constructor and description
                                                                                                            + DbmCreateChangelog + ()
                                                                                                            +
                                                                                                          +
                                                                                                        • +
                                                                                                        + + + + +
                                                                                                          + +
                                                                                                        • +

                                                                                                          Methods Summary

                                                                                                          +
                                                                                                            + + + + + + + + + + + + + + +
                                                                                                            Methods 
                                                                                                            Type ParamsReturn TypeName and description
                                                                                                            voidhandle()
                                                                                                            +
                                                                                                          +
                                                                                                        • + +
                                                                                                        • +

                                                                                                          Inherited Methods Summary

                                                                                                          +
                                                                                                            + + + + + + + + + + + +
                                                                                                            Inherited Methods 
                                                                                                            Methods inherited from className
                                                                                                            class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                            +
                                                                                                          +
                                                                                                        • + +
                                                                                                        + +
                                                                                                      • +
                                                                                                      +
                                                                                                      + +
                                                                                                      +
                                                                                                        +
                                                                                                      • + + + + + + + + + + +
                                                                                                          +
                                                                                                        • + + +

                                                                                                          Constructor Detail

                                                                                                          + + +
                                                                                                            +
                                                                                                          • +

                                                                                                            DbmCreateChangelog()

                                                                                                            +

                                                                                                            +
                                                                                                          • +
                                                                                                          + +
                                                                                                        • +
                                                                                                        + + + + + +
                                                                                                          +
                                                                                                        • + + +

                                                                                                          Method Detail

                                                                                                          + + +
                                                                                                            +
                                                                                                          • +

                                                                                                            @java.lang.Override +void handle()

                                                                                                            +

                                                                                                            +
                                                                                                          • +
                                                                                                          + +
                                                                                                        • +
                                                                                                        + +
                                                                                                      • +
                                                                                                      +
                                                                                                      + + + +
                                                                                                      + + + + + +
                                                                                                      + + +
                                                                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmCreateChangelog.html#handle() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmCreateChangelog.html#handle() new file mode 100644 index 000000000000..4119d98eb962 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/DbmCreateChangelog.html#handle() @@ -0,0 +1,307 @@ + + + + + + + + + + + DbmCreateChangelog (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                      + + + + + +
                                                                                                      + + + + + +
                                                                                                      + +
                                                                                                      Package: org.grails.plugins.databasemigration.command
                                                                                                      + +

                                                                                                      [Groovy] Class DbmCreateChangelog

                                                                                                      +
                                                                                                      +
                                                                                                      +
                                                                                                        +
                                                                                                        • org.grails.plugins.databasemigration.command.DbmCreateChangelog +
                                                                                                        +
                                                                                                        + +
                                                                                                        + +
                                                                                                        +
                                                                                                          +
                                                                                                        • + + + + + + + + + + + + + + + + +
                                                                                                            +
                                                                                                          • +

                                                                                                            Constructor Summary

                                                                                                            +
                                                                                                              + + + + + + + + + + +
                                                                                                              Constructors 
                                                                                                              Constructor and description
                                                                                                              + DbmCreateChangelog + ()
                                                                                                              +
                                                                                                            +
                                                                                                          • +
                                                                                                          + + + + +
                                                                                                            + +
                                                                                                          • +

                                                                                                            Methods Summary

                                                                                                            +
                                                                                                              + + + + + + + + + + + + + + +
                                                                                                              Methods 
                                                                                                              Type ParamsReturn TypeName and description
                                                                                                              voidhandle()
                                                                                                              +
                                                                                                            +
                                                                                                          • + +
                                                                                                          • +

                                                                                                            Inherited Methods Summary

                                                                                                            +
                                                                                                              + + + + + + + + + + + +
                                                                                                              Inherited Methods 
                                                                                                              Methods inherited from className
                                                                                                              class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                              +
                                                                                                            +
                                                                                                          • + +
                                                                                                          + +
                                                                                                        • +
                                                                                                        +
                                                                                                        + +
                                                                                                        +
                                                                                                          +
                                                                                                        • + + + + + + + + + + +
                                                                                                            +
                                                                                                          • + + +

                                                                                                            Constructor Detail

                                                                                                            + + +
                                                                                                              +
                                                                                                            • +

                                                                                                              DbmCreateChangelog()

                                                                                                              +

                                                                                                              +
                                                                                                            • +
                                                                                                            + +
                                                                                                          • +
                                                                                                          + + + + + +
                                                                                                            +
                                                                                                          • + + +

                                                                                                            Method Detail

                                                                                                            + + +
                                                                                                              +
                                                                                                            • +

                                                                                                              @java.lang.Override +void handle()

                                                                                                              +

                                                                                                              +
                                                                                                            • +
                                                                                                            + +
                                                                                                          • +
                                                                                                          + +
                                                                                                        • +
                                                                                                        +
                                                                                                        + + + +
                                                                                                        + + + + + +
                                                                                                        + + +
                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html new file mode 100644 index 000000000000..8d1b1ead54cd --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html @@ -0,0 +1,388 @@ + + + + + + + + + + + ScriptDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                        + + + + + +
                                                                                                        + + + + + +
                                                                                                        + +
                                                                                                        Package: org.grails.plugins.databasemigration.command
                                                                                                        + +

                                                                                                        [Groovy] Trait ScriptDatabaseMigrationCommand

                                                                                                        +
                                                                                                        +
                                                                                                        +
                                                                                                          +
                                                                                                          • org.grails.plugins.databasemigration.command.ScriptDatabaseMigrationCommand +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                          • + +
                                                                                                            +
                                                                                                            All Implemented Interfaces and Traits:
                                                                                                            +
                                                                                                            DatabaseMigrationCommand
                                                                                                            +
                                                                                                            + + + +
                                                                                                            +
                                                                                                            + +
                                                                                                            @groovy.transform.Trait
                                                                                                            +@groovy.transform.CompileStatic
                                                                                                            +trait ScriptDatabaseMigrationCommand
                                                                                                            +extends java.lang.Object
                                                                                                            +implements DatabaseMigrationCommand
                                                                                                            + +
                                                                                                          • +
                                                                                                          +
                                                                                                          + +
                                                                                                          +
                                                                                                            +
                                                                                                          • + + + + + + + + + + + + + + + + + + + + +
                                                                                                              + +
                                                                                                            • +

                                                                                                              Methods Summary

                                                                                                              + +
                                                                                                            • + +
                                                                                                            • +

                                                                                                              Inherited Methods Summary

                                                                                                              +
                                                                                                                + + + + + + + + + + + +
                                                                                                                Inherited Methods 
                                                                                                                Methods inherited from className
                                                                                                                class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                +
                                                                                                              +
                                                                                                            • + +
                                                                                                            + +
                                                                                                          • +
                                                                                                          +
                                                                                                          + +
                                                                                                          +
                                                                                                            +
                                                                                                          • + + + + + + + + + + + + + + + + +
                                                                                                              +
                                                                                                            • + + +

                                                                                                              Method Detail

                                                                                                              + + +
                                                                                                                +
                                                                                                              • +

                                                                                                                void configureLiquibase()

                                                                                                                +

                                                                                                                +
                                                                                                              • +
                                                                                                              + + +
                                                                                                                +
                                                                                                              • +

                                                                                                                java.lang.String getName()

                                                                                                                +

                                                                                                                +
                                                                                                              • +
                                                                                                              + + + + + +
                                                                                                                +
                                                                                                              • +

                                                                                                                abstract void handle()

                                                                                                                +

                                                                                                                +
                                                                                                              • +
                                                                                                              + + + + +
                                                                                                            • +
                                                                                                            + +
                                                                                                          • +
                                                                                                          +
                                                                                                          + + + +
                                                                                                          + + + + + +
                                                                                                          + + +
                                                                                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#config b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#config new file mode 100644 index 000000000000..8d1b1ead54cd --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#config @@ -0,0 +1,388 @@ + + + + + + + + + + + ScriptDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                          + + + + + +
                                                                                                          + + + + + +
                                                                                                          + +
                                                                                                          Package: org.grails.plugins.databasemigration.command
                                                                                                          + +

                                                                                                          [Groovy] Trait ScriptDatabaseMigrationCommand

                                                                                                          +
                                                                                                          +
                                                                                                          +
                                                                                                            +
                                                                                                            • org.grails.plugins.databasemigration.command.ScriptDatabaseMigrationCommand +
                                                                                                            +
                                                                                                            +
                                                                                                              +
                                                                                                            • + +
                                                                                                              +
                                                                                                              All Implemented Interfaces and Traits:
                                                                                                              +
                                                                                                              DatabaseMigrationCommand
                                                                                                              +
                                                                                                              + + + +
                                                                                                              +
                                                                                                              + +
                                                                                                              @groovy.transform.Trait
                                                                                                              +@groovy.transform.CompileStatic
                                                                                                              +trait ScriptDatabaseMigrationCommand
                                                                                                              +extends java.lang.Object
                                                                                                              +implements DatabaseMigrationCommand
                                                                                                              + +
                                                                                                            • +
                                                                                                            +
                                                                                                            + +
                                                                                                            +
                                                                                                              +
                                                                                                            • + + + + + + + + + + + + + + + + + + + + +
                                                                                                                + +
                                                                                                              • +

                                                                                                                Methods Summary

                                                                                                                + +
                                                                                                              • + +
                                                                                                              • +

                                                                                                                Inherited Methods Summary

                                                                                                                +
                                                                                                                  + + + + + + + + + + + +
                                                                                                                  Inherited Methods 
                                                                                                                  Methods inherited from className
                                                                                                                  class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                  +
                                                                                                                +
                                                                                                              • + +
                                                                                                              + +
                                                                                                            • +
                                                                                                            +
                                                                                                            + +
                                                                                                            +
                                                                                                              +
                                                                                                            • + + + + + + + + + + + + + + + + +
                                                                                                                +
                                                                                                              • + + +

                                                                                                                Method Detail

                                                                                                                + + +
                                                                                                                  +
                                                                                                                • +

                                                                                                                  void configureLiquibase()

                                                                                                                  +

                                                                                                                  +
                                                                                                                • +
                                                                                                                + + +
                                                                                                                  +
                                                                                                                • +

                                                                                                                  java.lang.String getName()

                                                                                                                  +

                                                                                                                  +
                                                                                                                • +
                                                                                                                + + + + + +
                                                                                                                  +
                                                                                                                • +

                                                                                                                  abstract void handle()

                                                                                                                  +

                                                                                                                  +
                                                                                                                • +
                                                                                                                + + + + +
                                                                                                              • +
                                                                                                              + +
                                                                                                            • +
                                                                                                            +
                                                                                                            + + + +
                                                                                                            + + + + + +
                                                                                                            + + +
                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#configureLiquibase() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#configureLiquibase() new file mode 100644 index 000000000000..8d1b1ead54cd --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#configureLiquibase() @@ -0,0 +1,388 @@ + + + + + + + + + + + ScriptDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                            + + + + + +
                                                                                                            + + + + + +
                                                                                                            + +
                                                                                                            Package: org.grails.plugins.databasemigration.command
                                                                                                            + +

                                                                                                            [Groovy] Trait ScriptDatabaseMigrationCommand

                                                                                                            +
                                                                                                            +
                                                                                                            +
                                                                                                              +
                                                                                                              • org.grails.plugins.databasemigration.command.ScriptDatabaseMigrationCommand +
                                                                                                              +
                                                                                                              +
                                                                                                                +
                                                                                                              • + +
                                                                                                                +
                                                                                                                All Implemented Interfaces and Traits:
                                                                                                                +
                                                                                                                DatabaseMigrationCommand
                                                                                                                +
                                                                                                                + + + +
                                                                                                                +
                                                                                                                + +
                                                                                                                @groovy.transform.Trait
                                                                                                                +@groovy.transform.CompileStatic
                                                                                                                +trait ScriptDatabaseMigrationCommand
                                                                                                                +extends java.lang.Object
                                                                                                                +implements DatabaseMigrationCommand
                                                                                                                + +
                                                                                                              • +
                                                                                                              +
                                                                                                              + +
                                                                                                              +
                                                                                                                +
                                                                                                              • + + + + + + + + + + + + + + + + + + + + +
                                                                                                                  + +
                                                                                                                • +

                                                                                                                  Methods Summary

                                                                                                                  + +
                                                                                                                • + +
                                                                                                                • +

                                                                                                                  Inherited Methods Summary

                                                                                                                  +
                                                                                                                    + + + + + + + + + + + +
                                                                                                                    Inherited Methods 
                                                                                                                    Methods inherited from className
                                                                                                                    class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                    +
                                                                                                                  +
                                                                                                                • + +
                                                                                                                + +
                                                                                                              • +
                                                                                                              +
                                                                                                              + +
                                                                                                              +
                                                                                                                +
                                                                                                              • + + + + + + + + + + + + + + + + +
                                                                                                                  +
                                                                                                                • + + +

                                                                                                                  Method Detail

                                                                                                                  + + +
                                                                                                                    +
                                                                                                                  • +

                                                                                                                    void configureLiquibase()

                                                                                                                    +

                                                                                                                    +
                                                                                                                  • +
                                                                                                                  + + +
                                                                                                                    +
                                                                                                                  • +

                                                                                                                    java.lang.String getName()

                                                                                                                    +

                                                                                                                    +
                                                                                                                  • +
                                                                                                                  + + + + + +
                                                                                                                    +
                                                                                                                  • +

                                                                                                                    abstract void handle()

                                                                                                                    +

                                                                                                                    +
                                                                                                                  • +
                                                                                                                  + + + + +
                                                                                                                • +
                                                                                                                + +
                                                                                                              • +
                                                                                                              +
                                                                                                              + + + +
                                                                                                              + + + + + +
                                                                                                              + + +
                                                                                                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#executionContext b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#executionContext new file mode 100644 index 000000000000..8d1b1ead54cd --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#executionContext @@ -0,0 +1,388 @@ + + + + + + + + + + + ScriptDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                              + + + + + +
                                                                                                              + + + + + +
                                                                                                              + +
                                                                                                              Package: org.grails.plugins.databasemigration.command
                                                                                                              + +

                                                                                                              [Groovy] Trait ScriptDatabaseMigrationCommand

                                                                                                              +
                                                                                                              +
                                                                                                              +
                                                                                                                +
                                                                                                                • org.grails.plugins.databasemigration.command.ScriptDatabaseMigrationCommand +
                                                                                                                +
                                                                                                                +
                                                                                                                  +
                                                                                                                • + +
                                                                                                                  +
                                                                                                                  All Implemented Interfaces and Traits:
                                                                                                                  +
                                                                                                                  DatabaseMigrationCommand
                                                                                                                  +
                                                                                                                  + + + +
                                                                                                                  +
                                                                                                                  + +
                                                                                                                  @groovy.transform.Trait
                                                                                                                  +@groovy.transform.CompileStatic
                                                                                                                  +trait ScriptDatabaseMigrationCommand
                                                                                                                  +extends java.lang.Object
                                                                                                                  +implements DatabaseMigrationCommand
                                                                                                                  + +
                                                                                                                • +
                                                                                                                +
                                                                                                                + +
                                                                                                                +
                                                                                                                  +
                                                                                                                • + + + + + + + + + + + + + + + + + + + + +
                                                                                                                    + +
                                                                                                                  • +

                                                                                                                    Methods Summary

                                                                                                                    + +
                                                                                                                  • + +
                                                                                                                  • +

                                                                                                                    Inherited Methods Summary

                                                                                                                    +
                                                                                                                      + + + + + + + + + + + +
                                                                                                                      Inherited Methods 
                                                                                                                      Methods inherited from className
                                                                                                                      class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                      +
                                                                                                                    +
                                                                                                                  • + +
                                                                                                                  + +
                                                                                                                • +
                                                                                                                +
                                                                                                                + +
                                                                                                                +
                                                                                                                  +
                                                                                                                • + + + + + + + + + + + + + + + + +
                                                                                                                    +
                                                                                                                  • + + +

                                                                                                                    Method Detail

                                                                                                                    + + +
                                                                                                                      +
                                                                                                                    • +

                                                                                                                      void configureLiquibase()

                                                                                                                      +

                                                                                                                      +
                                                                                                                    • +
                                                                                                                    + + +
                                                                                                                      +
                                                                                                                    • +

                                                                                                                      java.lang.String getName()

                                                                                                                      +

                                                                                                                      +
                                                                                                                    • +
                                                                                                                    + + + + + +
                                                                                                                      +
                                                                                                                    • +

                                                                                                                      abstract void handle()

                                                                                                                      +

                                                                                                                      +
                                                                                                                    • +
                                                                                                                    + + + + +
                                                                                                                  • +
                                                                                                                  + +
                                                                                                                • +
                                                                                                                +
                                                                                                                + + + +
                                                                                                                + + + + + +
                                                                                                                + + +
                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#getName() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#getName() new file mode 100644 index 000000000000..8d1b1ead54cd --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#getName() @@ -0,0 +1,388 @@ + + + + + + + + + + + ScriptDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                + + + + + +
                                                                                                                + + + + + +
                                                                                                                + +
                                                                                                                Package: org.grails.plugins.databasemigration.command
                                                                                                                + +

                                                                                                                [Groovy] Trait ScriptDatabaseMigrationCommand

                                                                                                                +
                                                                                                                +
                                                                                                                +
                                                                                                                  +
                                                                                                                  • org.grails.plugins.databasemigration.command.ScriptDatabaseMigrationCommand +
                                                                                                                  +
                                                                                                                  +
                                                                                                                    +
                                                                                                                  • + +
                                                                                                                    +
                                                                                                                    All Implemented Interfaces and Traits:
                                                                                                                    +
                                                                                                                    DatabaseMigrationCommand
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    @groovy.transform.Trait
                                                                                                                    +@groovy.transform.CompileStatic
                                                                                                                    +trait ScriptDatabaseMigrationCommand
                                                                                                                    +extends java.lang.Object
                                                                                                                    +implements DatabaseMigrationCommand
                                                                                                                    + +
                                                                                                                  • +
                                                                                                                  +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                    +
                                                                                                                  • + + + + + + + + + + + + + + + + + + + + +
                                                                                                                      + +
                                                                                                                    • +

                                                                                                                      Methods Summary

                                                                                                                      + +
                                                                                                                    • + +
                                                                                                                    • +

                                                                                                                      Inherited Methods Summary

                                                                                                                      +
                                                                                                                        + + + + + + + + + + + +
                                                                                                                        Inherited Methods 
                                                                                                                        Methods inherited from className
                                                                                                                        class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                        +
                                                                                                                      +
                                                                                                                    • + +
                                                                                                                    + +
                                                                                                                  • +
                                                                                                                  +
                                                                                                                  + +
                                                                                                                  +
                                                                                                                    +
                                                                                                                  • + + + + + + + + + + + + + + + + +
                                                                                                                      +
                                                                                                                    • + + +

                                                                                                                      Method Detail

                                                                                                                      + + +
                                                                                                                        +
                                                                                                                      • +

                                                                                                                        void configureLiquibase()

                                                                                                                        +

                                                                                                                        +
                                                                                                                      • +
                                                                                                                      + + +
                                                                                                                        +
                                                                                                                      • +

                                                                                                                        java.lang.String getName()

                                                                                                                        +

                                                                                                                        +
                                                                                                                      • +
                                                                                                                      + + + + + +
                                                                                                                        +
                                                                                                                      • +

                                                                                                                        abstract void handle()

                                                                                                                        +

                                                                                                                        +
                                                                                                                      • +
                                                                                                                      + + + + +
                                                                                                                    • +
                                                                                                                    + +
                                                                                                                  • +
                                                                                                                  +
                                                                                                                  + + + +
                                                                                                                  + + + + + +
                                                                                                                  + + +
                                                                                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#handle() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#handle() new file mode 100644 index 000000000000..8d1b1ead54cd --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#handle() @@ -0,0 +1,388 @@ + + + + + + + + + + + ScriptDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                  + + + + + +
                                                                                                                  + + + + + +
                                                                                                                  + +
                                                                                                                  Package: org.grails.plugins.databasemigration.command
                                                                                                                  + +

                                                                                                                  [Groovy] Trait ScriptDatabaseMigrationCommand

                                                                                                                  +
                                                                                                                  +
                                                                                                                  +
                                                                                                                    +
                                                                                                                    • org.grails.plugins.databasemigration.command.ScriptDatabaseMigrationCommand +
                                                                                                                    +
                                                                                                                    +
                                                                                                                      +
                                                                                                                    • + +
                                                                                                                      +
                                                                                                                      All Implemented Interfaces and Traits:
                                                                                                                      +
                                                                                                                      DatabaseMigrationCommand
                                                                                                                      +
                                                                                                                      + + + +
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      @groovy.transform.Trait
                                                                                                                      +@groovy.transform.CompileStatic
                                                                                                                      +trait ScriptDatabaseMigrationCommand
                                                                                                                      +extends java.lang.Object
                                                                                                                      +implements DatabaseMigrationCommand
                                                                                                                      + +
                                                                                                                    • +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                      +
                                                                                                                    • + + + + + + + + + + + + + + + + + + + + +
                                                                                                                        + +
                                                                                                                      • +

                                                                                                                        Methods Summary

                                                                                                                        + +
                                                                                                                      • + +
                                                                                                                      • +

                                                                                                                        Inherited Methods Summary

                                                                                                                        +
                                                                                                                          + + + + + + + + + + + +
                                                                                                                          Inherited Methods 
                                                                                                                          Methods inherited from className
                                                                                                                          class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                          +
                                                                                                                        +
                                                                                                                      • + +
                                                                                                                      + +
                                                                                                                    • +
                                                                                                                    +
                                                                                                                    + +
                                                                                                                    +
                                                                                                                      +
                                                                                                                    • + + + + + + + + + + + + + + + + +
                                                                                                                        +
                                                                                                                      • + + +

                                                                                                                        Method Detail

                                                                                                                        + + +
                                                                                                                          +
                                                                                                                        • +

                                                                                                                          void configureLiquibase()

                                                                                                                          +

                                                                                                                          +
                                                                                                                        • +
                                                                                                                        + + +
                                                                                                                          +
                                                                                                                        • +

                                                                                                                          java.lang.String getName()

                                                                                                                          +

                                                                                                                          +
                                                                                                                        • +
                                                                                                                        + + + + + +
                                                                                                                          +
                                                                                                                        • +

                                                                                                                          abstract void handle()

                                                                                                                          +

                                                                                                                          +
                                                                                                                        • +
                                                                                                                        + + + + +
                                                                                                                      • +
                                                                                                                      + +
                                                                                                                    • +
                                                                                                                    +
                                                                                                                    + + + +
                                                                                                                    + + + + + +
                                                                                                                    + + +
                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#setConfig(grails.config.ConfigMap) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#setConfig(grails.config.ConfigMap) new file mode 100644 index 000000000000..8d1b1ead54cd --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#setConfig(grails.config.ConfigMap) @@ -0,0 +1,388 @@ + + + + + + + + + + + ScriptDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                    + + + + + +
                                                                                                                    + + + + + +
                                                                                                                    + +
                                                                                                                    Package: org.grails.plugins.databasemigration.command
                                                                                                                    + +

                                                                                                                    [Groovy] Trait ScriptDatabaseMigrationCommand

                                                                                                                    +
                                                                                                                    +
                                                                                                                    +
                                                                                                                      +
                                                                                                                      • org.grails.plugins.databasemigration.command.ScriptDatabaseMigrationCommand +
                                                                                                                      +
                                                                                                                      +
                                                                                                                        +
                                                                                                                      • + +
                                                                                                                        +
                                                                                                                        All Implemented Interfaces and Traits:
                                                                                                                        +
                                                                                                                        DatabaseMigrationCommand
                                                                                                                        +
                                                                                                                        + + + +
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        @groovy.transform.Trait
                                                                                                                        +@groovy.transform.CompileStatic
                                                                                                                        +trait ScriptDatabaseMigrationCommand
                                                                                                                        +extends java.lang.Object
                                                                                                                        +implements DatabaseMigrationCommand
                                                                                                                        + +
                                                                                                                      • +
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      +
                                                                                                                        +
                                                                                                                      • + + + + + + + + + + + + + + + + + + + + +
                                                                                                                          + +
                                                                                                                        • +

                                                                                                                          Methods Summary

                                                                                                                          + +
                                                                                                                        • + +
                                                                                                                        • +

                                                                                                                          Inherited Methods Summary

                                                                                                                          +
                                                                                                                            + + + + + + + + + + + +
                                                                                                                            Inherited Methods 
                                                                                                                            Methods inherited from className
                                                                                                                            class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                            +
                                                                                                                          +
                                                                                                                        • + +
                                                                                                                        + +
                                                                                                                      • +
                                                                                                                      +
                                                                                                                      + +
                                                                                                                      +
                                                                                                                        +
                                                                                                                      • + + + + + + + + + + + + + + + + +
                                                                                                                          +
                                                                                                                        • + + +

                                                                                                                          Method Detail

                                                                                                                          + + +
                                                                                                                            +
                                                                                                                          • +

                                                                                                                            void configureLiquibase()

                                                                                                                            +

                                                                                                                            +
                                                                                                                          • +
                                                                                                                          + + +
                                                                                                                            +
                                                                                                                          • +

                                                                                                                            java.lang.String getName()

                                                                                                                            +

                                                                                                                            +
                                                                                                                          • +
                                                                                                                          + + + + + +
                                                                                                                            +
                                                                                                                          • +

                                                                                                                            abstract void handle()

                                                                                                                            +

                                                                                                                            +
                                                                                                                          • +
                                                                                                                          + + + + +
                                                                                                                        • +
                                                                                                                        + +
                                                                                                                      • +
                                                                                                                      +
                                                                                                                      + + + +
                                                                                                                      + + + + + +
                                                                                                                      + + +
                                                                                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#sourceConfig b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#sourceConfig new file mode 100644 index 000000000000..8d1b1ead54cd --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/ScriptDatabaseMigrationCommand.html#sourceConfig @@ -0,0 +1,388 @@ + + + + + + + + + + + ScriptDatabaseMigrationCommand (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                      + + + + + +
                                                                                                                      + + + + + +
                                                                                                                      + +
                                                                                                                      Package: org.grails.plugins.databasemigration.command
                                                                                                                      + +

                                                                                                                      [Groovy] Trait ScriptDatabaseMigrationCommand

                                                                                                                      +
                                                                                                                      +
                                                                                                                      +
                                                                                                                        +
                                                                                                                        • org.grails.plugins.databasemigration.command.ScriptDatabaseMigrationCommand +
                                                                                                                        +
                                                                                                                        +
                                                                                                                          +
                                                                                                                        • + +
                                                                                                                          +
                                                                                                                          All Implemented Interfaces and Traits:
                                                                                                                          +
                                                                                                                          DatabaseMigrationCommand
                                                                                                                          +
                                                                                                                          + + + +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          @groovy.transform.Trait
                                                                                                                          +@groovy.transform.CompileStatic
                                                                                                                          +trait ScriptDatabaseMigrationCommand
                                                                                                                          +extends java.lang.Object
                                                                                                                          +implements DatabaseMigrationCommand
                                                                                                                          + +
                                                                                                                        • +
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                          +
                                                                                                                        • + + + + + + + + + + + + + + + + + + + + +
                                                                                                                            + +
                                                                                                                          • +

                                                                                                                            Methods Summary

                                                                                                                            + +
                                                                                                                          • + +
                                                                                                                          • +

                                                                                                                            Inherited Methods Summary

                                                                                                                            +
                                                                                                                              + + + + + + + + + + + +
                                                                                                                              Inherited Methods 
                                                                                                                              Methods inherited from className
                                                                                                                              class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                              +
                                                                                                                            +
                                                                                                                          • + +
                                                                                                                          + +
                                                                                                                        • +
                                                                                                                        +
                                                                                                                        + +
                                                                                                                        +
                                                                                                                          +
                                                                                                                        • + + + + + + + + + + + + + + + + +
                                                                                                                            +
                                                                                                                          • + + +

                                                                                                                            Method Detail

                                                                                                                            + + +
                                                                                                                              +
                                                                                                                            • +

                                                                                                                              void configureLiquibase()

                                                                                                                              +

                                                                                                                              +
                                                                                                                            • +
                                                                                                                            + + +
                                                                                                                              +
                                                                                                                            • +

                                                                                                                              java.lang.String getName()

                                                                                                                              +

                                                                                                                              +
                                                                                                                            • +
                                                                                                                            + + + + + +
                                                                                                                              +
                                                                                                                            • +

                                                                                                                              abstract void handle()

                                                                                                                              +

                                                                                                                              +
                                                                                                                            • +
                                                                                                                            + + + + +
                                                                                                                          • +
                                                                                                                          + +
                                                                                                                        • +
                                                                                                                        +
                                                                                                                        + + + +
                                                                                                                        + + + + + +
                                                                                                                        + + +
                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/package-summary.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/package-summary.html new file mode 100644 index 000000000000..8ab3b6370119 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/command/package-summary.html @@ -0,0 +1,194 @@ + + + + + +org.grails.plugins.databasemigration.command (database-migration 5.0.0 API) + + + + + + + + + + + + + +
                                                                                                                        + + + + + + +
                                                                                                                        + + + + + +
                                                                                                                        +

                                                                                                                        Package org.grails.plugins.databasemigration.command

                                                                                                                        +
                                                                                                                        + + + +
                                                                                                                        + + + +
                                                                                                                        + +
                                                                                                                        + + + +
                                                                                                                        + +
                                                                                                                        + + + + + + + +
                                                                                                                        + + +
                                                                                                                        + + + + + +
                                                                                                                        + + + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html new file mode 100644 index 000000000000..237a40712fc1 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html @@ -0,0 +1,386 @@ + + + + + + + + + + + ChangelogXml2Groovy (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                        + + + + + +
                                                                                                                        + + + + + +
                                                                                                                        + +
                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                        + +

                                                                                                                        [Groovy] Class ChangelogXml2Groovy

                                                                                                                        +
                                                                                                                        +
                                                                                                                        +
                                                                                                                          +
                                                                                                                          • org.grails.plugins.databasemigration.liquibase.ChangelogXml2Groovy +
                                                                                                                          +
                                                                                                                          +
                                                                                                                            +
                                                                                                                          • + + + +
                                                                                                                            +
                                                                                                                            + +
                                                                                                                            @groovy.transform.CompileStatic
                                                                                                                            +class ChangelogXml2Groovy
                                                                                                                            +extends java.lang.Object
                                                                                                                            + +

                                                                                                                            Generates a Groovy DSL version of a Liquibase XML changelog.

                                                                                                                            Authors:
                                                                                                                            Burt Beckwith
                                                                                                                            Kazuki YAMAMOTO

                                                                                                                            + +
                                                                                                                          • +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                            +
                                                                                                                          • + + + + + + + +
                                                                                                                              +
                                                                                                                            • +

                                                                                                                              Field Summary

                                                                                                                              +
                                                                                                                                + + + + + + + + + + + + + + +
                                                                                                                                Fields 
                                                                                                                                ModifiersNameDescription
                                                                                                                                protected static java.lang.String NEWLINE
                                                                                                                                +
                                                                                                                              +
                                                                                                                            • + +
                                                                                                                            + + + + + + + + + + +
                                                                                                                              +
                                                                                                                            • +

                                                                                                                              Constructor Summary

                                                                                                                              + +
                                                                                                                            • +
                                                                                                                            + + + + +
                                                                                                                              + +
                                                                                                                            • +

                                                                                                                              Methods Summary

                                                                                                                              +
                                                                                                                                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                Methods 
                                                                                                                                Type ParamsReturn TypeName and description
                                                                                                                                protected static voidappendAttrs(java.lang.StringBuilder groovy, groovy.util.Node node, java.lang.String text)
                                                                                                                                protected static voidappendWithIndent(int indentLevel, java.lang.StringBuilder groovy, java.lang.String s)
                                                                                                                                static java.lang.Stringconvert(java.lang.String xml)
                                                                                                                                Convert a Liquibase XML changelog to Groovy DSL format.
                                                                                                                                protected static voidconvertNode(groovy.util.Node node, java.lang.StringBuilder groovy, int indentLevel)
                                                                                                                                +
                                                                                                                              +
                                                                                                                            • + +
                                                                                                                            • +

                                                                                                                              Inherited Methods Summary

                                                                                                                              +
                                                                                                                                + + + + + + + + + + + +
                                                                                                                                Inherited Methods 
                                                                                                                                Methods inherited from className
                                                                                                                                class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                                +
                                                                                                                              +
                                                                                                                            • + +
                                                                                                                            + +
                                                                                                                          • +
                                                                                                                          +
                                                                                                                          + +
                                                                                                                          +
                                                                                                                            +
                                                                                                                          • + + + + +
                                                                                                                              +
                                                                                                                            • + + +

                                                                                                                              Field Detail

                                                                                                                              + + +
                                                                                                                                +
                                                                                                                              • +

                                                                                                                                protected static final java.lang.String NEWLINE

                                                                                                                                +

                                                                                                                                +
                                                                                                                              • +
                                                                                                                              + +
                                                                                                                            • +
                                                                                                                            + + + + + + + + +
                                                                                                                              +
                                                                                                                            • + + +

                                                                                                                              Constructor Detail

                                                                                                                              + + +
                                                                                                                                +
                                                                                                                              • +

                                                                                                                                ChangelogXml2Groovy()

                                                                                                                                +

                                                                                                                                +
                                                                                                                              • +
                                                                                                                              + +
                                                                                                                            • +
                                                                                                                            + + + + + +
                                                                                                                              +
                                                                                                                            • + + +

                                                                                                                              Method Detail

                                                                                                                              + + +
                                                                                                                                +
                                                                                                                              • +

                                                                                                                                protected static void appendAttrs(java.lang.StringBuilder groovy, groovy.util.Node node, java.lang.String text)

                                                                                                                                +

                                                                                                                                +
                                                                                                                              • +
                                                                                                                              + + +
                                                                                                                                +
                                                                                                                              • +

                                                                                                                                protected static void appendWithIndent(int indentLevel, java.lang.StringBuilder groovy, java.lang.String s)

                                                                                                                                +

                                                                                                                                +
                                                                                                                              • +
                                                                                                                              + + +
                                                                                                                                +
                                                                                                                              • +

                                                                                                                                static java.lang.String convert(java.lang.String xml)

                                                                                                                                +

                                                                                                                                Convert a Liquibase XML changelog to Groovy DSL format.

                                                                                                                                Parameters:
                                                                                                                                xml - the XML
                                                                                                                                Returns:
                                                                                                                                DSL format

                                                                                                                                +
                                                                                                                              • +
                                                                                                                              + + +
                                                                                                                                +
                                                                                                                              • +

                                                                                                                                protected static void convertNode(groovy.util.Node node, java.lang.StringBuilder groovy, int indentLevel)

                                                                                                                                +

                                                                                                                                +
                                                                                                                              • +
                                                                                                                              + +
                                                                                                                            • +
                                                                                                                            + +
                                                                                                                          • +
                                                                                                                          +
                                                                                                                          + + + +
                                                                                                                          + + + + + +
                                                                                                                          + + +
                                                                                                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#ChangelogXml2Groovy() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#ChangelogXml2Groovy() new file mode 100644 index 000000000000..237a40712fc1 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#ChangelogXml2Groovy() @@ -0,0 +1,386 @@ + + + + + + + + + + + ChangelogXml2Groovy (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                          + + + + + +
                                                                                                                          + + + + + +
                                                                                                                          + +
                                                                                                                          Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                          + +

                                                                                                                          [Groovy] Class ChangelogXml2Groovy

                                                                                                                          +
                                                                                                                          +
                                                                                                                          +
                                                                                                                            +
                                                                                                                            • org.grails.plugins.databasemigration.liquibase.ChangelogXml2Groovy +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • + + + +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                              +class ChangelogXml2Groovy
                                                                                                                              +extends java.lang.Object
                                                                                                                              + +

                                                                                                                              Generates a Groovy DSL version of a Liquibase XML changelog.

                                                                                                                              Authors:
                                                                                                                              Burt Beckwith
                                                                                                                              Kazuki YAMAMOTO

                                                                                                                              + +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            + +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • + + + + + + + +
                                                                                                                                +
                                                                                                                              • +

                                                                                                                                Field Summary

                                                                                                                                +
                                                                                                                                  + + + + + + + + + + + + + + +
                                                                                                                                  Fields 
                                                                                                                                  ModifiersNameDescription
                                                                                                                                  protected static java.lang.String NEWLINE
                                                                                                                                  +
                                                                                                                                +
                                                                                                                              • + +
                                                                                                                              + + + + + + + + + + +
                                                                                                                                +
                                                                                                                              • +

                                                                                                                                Constructor Summary

                                                                                                                                + +
                                                                                                                              • +
                                                                                                                              + + + + +
                                                                                                                                + +
                                                                                                                              • +

                                                                                                                                Methods Summary

                                                                                                                                +
                                                                                                                                  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                  Methods 
                                                                                                                                  Type ParamsReturn TypeName and description
                                                                                                                                  protected static voidappendAttrs(java.lang.StringBuilder groovy, groovy.util.Node node, java.lang.String text)
                                                                                                                                  protected static voidappendWithIndent(int indentLevel, java.lang.StringBuilder groovy, java.lang.String s)
                                                                                                                                  static java.lang.Stringconvert(java.lang.String xml)
                                                                                                                                  Convert a Liquibase XML changelog to Groovy DSL format.
                                                                                                                                  protected static voidconvertNode(groovy.util.Node node, java.lang.StringBuilder groovy, int indentLevel)
                                                                                                                                  +
                                                                                                                                +
                                                                                                                              • + +
                                                                                                                              • +

                                                                                                                                Inherited Methods Summary

                                                                                                                                +
                                                                                                                                  + + + + + + + + + + + +
                                                                                                                                  Inherited Methods 
                                                                                                                                  Methods inherited from className
                                                                                                                                  class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                                  +
                                                                                                                                +
                                                                                                                              • + +
                                                                                                                              + +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            + +
                                                                                                                            +
                                                                                                                              +
                                                                                                                            • + + + + +
                                                                                                                                +
                                                                                                                              • + + +

                                                                                                                                Field Detail

                                                                                                                                + + +
                                                                                                                                  +
                                                                                                                                • +

                                                                                                                                  protected static final java.lang.String NEWLINE

                                                                                                                                  +

                                                                                                                                  +
                                                                                                                                • +
                                                                                                                                + +
                                                                                                                              • +
                                                                                                                              + + + + + + + + +
                                                                                                                                +
                                                                                                                              • + + +

                                                                                                                                Constructor Detail

                                                                                                                                + + +
                                                                                                                                  +
                                                                                                                                • +

                                                                                                                                  ChangelogXml2Groovy()

                                                                                                                                  +

                                                                                                                                  +
                                                                                                                                • +
                                                                                                                                + +
                                                                                                                              • +
                                                                                                                              + + + + + +
                                                                                                                                +
                                                                                                                              • + + +

                                                                                                                                Method Detail

                                                                                                                                + + +
                                                                                                                                  +
                                                                                                                                • +

                                                                                                                                  protected static void appendAttrs(java.lang.StringBuilder groovy, groovy.util.Node node, java.lang.String text)

                                                                                                                                  +

                                                                                                                                  +
                                                                                                                                • +
                                                                                                                                + + +
                                                                                                                                  +
                                                                                                                                • +

                                                                                                                                  protected static void appendWithIndent(int indentLevel, java.lang.StringBuilder groovy, java.lang.String s)

                                                                                                                                  +

                                                                                                                                  +
                                                                                                                                • +
                                                                                                                                + + +
                                                                                                                                  +
                                                                                                                                • +

                                                                                                                                  static java.lang.String convert(java.lang.String xml)

                                                                                                                                  +

                                                                                                                                  Convert a Liquibase XML changelog to Groovy DSL format.

                                                                                                                                  Parameters:
                                                                                                                                  xml - the XML
                                                                                                                                  Returns:
                                                                                                                                  DSL format

                                                                                                                                  +
                                                                                                                                • +
                                                                                                                                + + +
                                                                                                                                  +
                                                                                                                                • +

                                                                                                                                  protected static void convertNode(groovy.util.Node node, java.lang.StringBuilder groovy, int indentLevel)

                                                                                                                                  +

                                                                                                                                  +
                                                                                                                                • +
                                                                                                                                + +
                                                                                                                              • +
                                                                                                                              + +
                                                                                                                            • +
                                                                                                                            +
                                                                                                                            + + + +
                                                                                                                            + + + + + +
                                                                                                                            + + +
                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#NEWLINE b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#NEWLINE new file mode 100644 index 000000000000..237a40712fc1 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#NEWLINE @@ -0,0 +1,386 @@ + + + + + + + + + + + ChangelogXml2Groovy (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                            + + + + + +
                                                                                                                            + + + + + +
                                                                                                                            + +
                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                            + +

                                                                                                                            [Groovy] Class ChangelogXml2Groovy

                                                                                                                            +
                                                                                                                            +
                                                                                                                            +
                                                                                                                              +
                                                                                                                              • org.grails.plugins.databasemigration.liquibase.ChangelogXml2Groovy +
                                                                                                                              +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              • + + + +
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                @groovy.transform.CompileStatic
                                                                                                                                +class ChangelogXml2Groovy
                                                                                                                                +extends java.lang.Object
                                                                                                                                + +

                                                                                                                                Generates a Groovy DSL version of a Liquibase XML changelog.

                                                                                                                                Authors:
                                                                                                                                Burt Beckwith
                                                                                                                                Kazuki YAMAMOTO

                                                                                                                                + +
                                                                                                                              • +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              • + + + + + + + +
                                                                                                                                  +
                                                                                                                                • +

                                                                                                                                  Field Summary

                                                                                                                                  +
                                                                                                                                    + + + + + + + + + + + + + + +
                                                                                                                                    Fields 
                                                                                                                                    ModifiersNameDescription
                                                                                                                                    protected static java.lang.String NEWLINE
                                                                                                                                    +
                                                                                                                                  +
                                                                                                                                • + +
                                                                                                                                + + + + + + + + + + +
                                                                                                                                  +
                                                                                                                                • +

                                                                                                                                  Constructor Summary

                                                                                                                                  + +
                                                                                                                                • +
                                                                                                                                + + + + +
                                                                                                                                  + +
                                                                                                                                • +

                                                                                                                                  Methods Summary

                                                                                                                                  +
                                                                                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                    Methods 
                                                                                                                                    Type ParamsReturn TypeName and description
                                                                                                                                    protected static voidappendAttrs(java.lang.StringBuilder groovy, groovy.util.Node node, java.lang.String text)
                                                                                                                                    protected static voidappendWithIndent(int indentLevel, java.lang.StringBuilder groovy, java.lang.String s)
                                                                                                                                    static java.lang.Stringconvert(java.lang.String xml)
                                                                                                                                    Convert a Liquibase XML changelog to Groovy DSL format.
                                                                                                                                    protected static voidconvertNode(groovy.util.Node node, java.lang.StringBuilder groovy, int indentLevel)
                                                                                                                                    +
                                                                                                                                  +
                                                                                                                                • + +
                                                                                                                                • +

                                                                                                                                  Inherited Methods Summary

                                                                                                                                  +
                                                                                                                                    + + + + + + + + + + + +
                                                                                                                                    Inherited Methods 
                                                                                                                                    Methods inherited from className
                                                                                                                                    class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                                    +
                                                                                                                                  +
                                                                                                                                • + +
                                                                                                                                + +
                                                                                                                              • +
                                                                                                                              +
                                                                                                                              + +
                                                                                                                              +
                                                                                                                                +
                                                                                                                              • + + + + +
                                                                                                                                  +
                                                                                                                                • + + +

                                                                                                                                  Field Detail

                                                                                                                                  + + +
                                                                                                                                    +
                                                                                                                                  • +

                                                                                                                                    protected static final java.lang.String NEWLINE

                                                                                                                                    +

                                                                                                                                    +
                                                                                                                                  • +
                                                                                                                                  + +
                                                                                                                                • +
                                                                                                                                + + + + + + + + +
                                                                                                                                  +
                                                                                                                                • + + +

                                                                                                                                  Constructor Detail

                                                                                                                                  + + +
                                                                                                                                    +
                                                                                                                                  • +

                                                                                                                                    ChangelogXml2Groovy()

                                                                                                                                    +

                                                                                                                                    +
                                                                                                                                  • +
                                                                                                                                  + +
                                                                                                                                • +
                                                                                                                                + + + + + +
                                                                                                                                  +
                                                                                                                                • + + +

                                                                                                                                  Method Detail

                                                                                                                                  + + +
                                                                                                                                    +
                                                                                                                                  • +

                                                                                                                                    protected static void appendAttrs(java.lang.StringBuilder groovy, groovy.util.Node node, java.lang.String text)

                                                                                                                                    +

                                                                                                                                    +
                                                                                                                                  • +
                                                                                                                                  + + +
                                                                                                                                    +
                                                                                                                                  • +

                                                                                                                                    protected static void appendWithIndent(int indentLevel, java.lang.StringBuilder groovy, java.lang.String s)

                                                                                                                                    +

                                                                                                                                    +
                                                                                                                                  • +
                                                                                                                                  + + +
                                                                                                                                    +
                                                                                                                                  • +

                                                                                                                                    static java.lang.String convert(java.lang.String xml)

                                                                                                                                    +

                                                                                                                                    Convert a Liquibase XML changelog to Groovy DSL format.

                                                                                                                                    Parameters:
                                                                                                                                    xml - the XML
                                                                                                                                    Returns:
                                                                                                                                    DSL format

                                                                                                                                    +
                                                                                                                                  • +
                                                                                                                                  + + +
                                                                                                                                    +
                                                                                                                                  • +

                                                                                                                                    protected static void convertNode(groovy.util.Node node, java.lang.StringBuilder groovy, int indentLevel)

                                                                                                                                    +

                                                                                                                                    +
                                                                                                                                  • +
                                                                                                                                  + +
                                                                                                                                • +
                                                                                                                                + +
                                                                                                                              • +
                                                                                                                              +
                                                                                                                              + + + +
                                                                                                                              + + + + + +
                                                                                                                              + + +
                                                                                                                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#appendAttrs(java.lang.StringBuilder, groovy.util.Node, java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#appendAttrs(java.lang.StringBuilder, groovy.util.Node, java.lang.String) new file mode 100644 index 000000000000..237a40712fc1 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#appendAttrs(java.lang.StringBuilder, groovy.util.Node, java.lang.String) @@ -0,0 +1,386 @@ + + + + + + + + + + + ChangelogXml2Groovy (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                              + + + + + +
                                                                                                                              + + + + + +
                                                                                                                              + +
                                                                                                                              Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                              + +

                                                                                                                              [Groovy] Class ChangelogXml2Groovy

                                                                                                                              +
                                                                                                                              +
                                                                                                                              +
                                                                                                                                +
                                                                                                                                • org.grails.plugins.databasemigration.liquibase.ChangelogXml2Groovy +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                  +
                                                                                                                                • + + + +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                  +class ChangelogXml2Groovy
                                                                                                                                  +extends java.lang.Object
                                                                                                                                  + +

                                                                                                                                  Generates a Groovy DSL version of a Liquibase XML changelog.

                                                                                                                                  Authors:
                                                                                                                                  Burt Beckwith
                                                                                                                                  Kazuki YAMAMOTO

                                                                                                                                  + +
                                                                                                                                • +
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                +
                                                                                                                                  +
                                                                                                                                • + + + + + + + +
                                                                                                                                    +
                                                                                                                                  • +

                                                                                                                                    Field Summary

                                                                                                                                    +
                                                                                                                                      + + + + + + + + + + + + + + +
                                                                                                                                      Fields 
                                                                                                                                      ModifiersNameDescription
                                                                                                                                      protected static java.lang.String NEWLINE
                                                                                                                                      +
                                                                                                                                    +
                                                                                                                                  • + +
                                                                                                                                  + + + + + + + + + + +
                                                                                                                                    +
                                                                                                                                  • +

                                                                                                                                    Constructor Summary

                                                                                                                                    + +
                                                                                                                                  • +
                                                                                                                                  + + + + +
                                                                                                                                    + +
                                                                                                                                  • +

                                                                                                                                    Methods Summary

                                                                                                                                    +
                                                                                                                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                      Methods 
                                                                                                                                      Type ParamsReturn TypeName and description
                                                                                                                                      protected static voidappendAttrs(java.lang.StringBuilder groovy, groovy.util.Node node, java.lang.String text)
                                                                                                                                      protected static voidappendWithIndent(int indentLevel, java.lang.StringBuilder groovy, java.lang.String s)
                                                                                                                                      static java.lang.Stringconvert(java.lang.String xml)
                                                                                                                                      Convert a Liquibase XML changelog to Groovy DSL format.
                                                                                                                                      protected static voidconvertNode(groovy.util.Node node, java.lang.StringBuilder groovy, int indentLevel)
                                                                                                                                      +
                                                                                                                                    +
                                                                                                                                  • + +
                                                                                                                                  • +

                                                                                                                                    Inherited Methods Summary

                                                                                                                                    +
                                                                                                                                      + + + + + + + + + + + +
                                                                                                                                      Inherited Methods 
                                                                                                                                      Methods inherited from className
                                                                                                                                      class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                                      +
                                                                                                                                    +
                                                                                                                                  • + +
                                                                                                                                  + +
                                                                                                                                • +
                                                                                                                                +
                                                                                                                                + +
                                                                                                                                +
                                                                                                                                  +
                                                                                                                                • + + + + +
                                                                                                                                    +
                                                                                                                                  • + + +

                                                                                                                                    Field Detail

                                                                                                                                    + + +
                                                                                                                                      +
                                                                                                                                    • +

                                                                                                                                      protected static final java.lang.String NEWLINE

                                                                                                                                      +

                                                                                                                                      +
                                                                                                                                    • +
                                                                                                                                    + +
                                                                                                                                  • +
                                                                                                                                  + + + + + + + + +
                                                                                                                                    +
                                                                                                                                  • + + +

                                                                                                                                    Constructor Detail

                                                                                                                                    + + +
                                                                                                                                      +
                                                                                                                                    • +

                                                                                                                                      ChangelogXml2Groovy()

                                                                                                                                      +

                                                                                                                                      +
                                                                                                                                    • +
                                                                                                                                    + +
                                                                                                                                  • +
                                                                                                                                  + + + + + +
                                                                                                                                    +
                                                                                                                                  • + + +

                                                                                                                                    Method Detail

                                                                                                                                    + + +
                                                                                                                                      +
                                                                                                                                    • +

                                                                                                                                      protected static void appendAttrs(java.lang.StringBuilder groovy, groovy.util.Node node, java.lang.String text)

                                                                                                                                      +

                                                                                                                                      +
                                                                                                                                    • +
                                                                                                                                    + + +
                                                                                                                                      +
                                                                                                                                    • +

                                                                                                                                      protected static void appendWithIndent(int indentLevel, java.lang.StringBuilder groovy, java.lang.String s)

                                                                                                                                      +

                                                                                                                                      +
                                                                                                                                    • +
                                                                                                                                    + + +
                                                                                                                                      +
                                                                                                                                    • +

                                                                                                                                      static java.lang.String convert(java.lang.String xml)

                                                                                                                                      +

                                                                                                                                      Convert a Liquibase XML changelog to Groovy DSL format.

                                                                                                                                      Parameters:
                                                                                                                                      xml - the XML
                                                                                                                                      Returns:
                                                                                                                                      DSL format

                                                                                                                                      +
                                                                                                                                    • +
                                                                                                                                    + + +
                                                                                                                                      +
                                                                                                                                    • +

                                                                                                                                      protected static void convertNode(groovy.util.Node node, java.lang.StringBuilder groovy, int indentLevel)

                                                                                                                                      +

                                                                                                                                      +
                                                                                                                                    • +
                                                                                                                                    + +
                                                                                                                                  • +
                                                                                                                                  + +
                                                                                                                                • +
                                                                                                                                +
                                                                                                                                + + + +
                                                                                                                                + + + + + +
                                                                                                                                + + +
                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#appendWithIndent(int, java.lang.StringBuilder, java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#appendWithIndent(int, java.lang.StringBuilder, java.lang.String) new file mode 100644 index 000000000000..237a40712fc1 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#appendWithIndent(int, java.lang.StringBuilder, java.lang.String) @@ -0,0 +1,386 @@ + + + + + + + + + + + ChangelogXml2Groovy (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                + + + + + +
                                                                                                                                + + + + + +
                                                                                                                                + +
                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                + +

                                                                                                                                [Groovy] Class ChangelogXml2Groovy

                                                                                                                                +
                                                                                                                                +
                                                                                                                                +
                                                                                                                                  +
                                                                                                                                  • org.grails.plugins.databasemigration.liquibase.ChangelogXml2Groovy +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                    +
                                                                                                                                  • + + + +
                                                                                                                                    +
                                                                                                                                    + +
                                                                                                                                    @groovy.transform.CompileStatic
                                                                                                                                    +class ChangelogXml2Groovy
                                                                                                                                    +extends java.lang.Object
                                                                                                                                    + +

                                                                                                                                    Generates a Groovy DSL version of a Liquibase XML changelog.

                                                                                                                                    Authors:
                                                                                                                                    Burt Beckwith
                                                                                                                                    Kazuki YAMAMOTO

                                                                                                                                    + +
                                                                                                                                  • +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                    +
                                                                                                                                  • + + + + + + + +
                                                                                                                                      +
                                                                                                                                    • +

                                                                                                                                      Field Summary

                                                                                                                                      +
                                                                                                                                        + + + + + + + + + + + + + + +
                                                                                                                                        Fields 
                                                                                                                                        ModifiersNameDescription
                                                                                                                                        protected static java.lang.String NEWLINE
                                                                                                                                        +
                                                                                                                                      +
                                                                                                                                    • + +
                                                                                                                                    + + + + + + + + + + +
                                                                                                                                      +
                                                                                                                                    • +

                                                                                                                                      Constructor Summary

                                                                                                                                      + +
                                                                                                                                    • +
                                                                                                                                    + + + + +
                                                                                                                                      + +
                                                                                                                                    • +

                                                                                                                                      Methods Summary

                                                                                                                                      +
                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                        Methods 
                                                                                                                                        Type ParamsReturn TypeName and description
                                                                                                                                        protected static voidappendAttrs(java.lang.StringBuilder groovy, groovy.util.Node node, java.lang.String text)
                                                                                                                                        protected static voidappendWithIndent(int indentLevel, java.lang.StringBuilder groovy, java.lang.String s)
                                                                                                                                        static java.lang.Stringconvert(java.lang.String xml)
                                                                                                                                        Convert a Liquibase XML changelog to Groovy DSL format.
                                                                                                                                        protected static voidconvertNode(groovy.util.Node node, java.lang.StringBuilder groovy, int indentLevel)
                                                                                                                                        +
                                                                                                                                      +
                                                                                                                                    • + +
                                                                                                                                    • +

                                                                                                                                      Inherited Methods Summary

                                                                                                                                      +
                                                                                                                                        + + + + + + + + + + + +
                                                                                                                                        Inherited Methods 
                                                                                                                                        Methods inherited from className
                                                                                                                                        class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                                        +
                                                                                                                                      +
                                                                                                                                    • + +
                                                                                                                                    + +
                                                                                                                                  • +
                                                                                                                                  +
                                                                                                                                  + +
                                                                                                                                  +
                                                                                                                                    +
                                                                                                                                  • + + + + +
                                                                                                                                      +
                                                                                                                                    • + + +

                                                                                                                                      Field Detail

                                                                                                                                      + + +
                                                                                                                                        +
                                                                                                                                      • +

                                                                                                                                        protected static final java.lang.String NEWLINE

                                                                                                                                        +

                                                                                                                                        +
                                                                                                                                      • +
                                                                                                                                      + +
                                                                                                                                    • +
                                                                                                                                    + + + + + + + + +
                                                                                                                                      +
                                                                                                                                    • + + +

                                                                                                                                      Constructor Detail

                                                                                                                                      + + +
                                                                                                                                        +
                                                                                                                                      • +

                                                                                                                                        ChangelogXml2Groovy()

                                                                                                                                        +

                                                                                                                                        +
                                                                                                                                      • +
                                                                                                                                      + +
                                                                                                                                    • +
                                                                                                                                    + + + + + +
                                                                                                                                      +
                                                                                                                                    • + + +

                                                                                                                                      Method Detail

                                                                                                                                      + + +
                                                                                                                                        +
                                                                                                                                      • +

                                                                                                                                        protected static void appendAttrs(java.lang.StringBuilder groovy, groovy.util.Node node, java.lang.String text)

                                                                                                                                        +

                                                                                                                                        +
                                                                                                                                      • +
                                                                                                                                      + + +
                                                                                                                                        +
                                                                                                                                      • +

                                                                                                                                        protected static void appendWithIndent(int indentLevel, java.lang.StringBuilder groovy, java.lang.String s)

                                                                                                                                        +

                                                                                                                                        +
                                                                                                                                      • +
                                                                                                                                      + + +
                                                                                                                                        +
                                                                                                                                      • +

                                                                                                                                        static java.lang.String convert(java.lang.String xml)

                                                                                                                                        +

                                                                                                                                        Convert a Liquibase XML changelog to Groovy DSL format.

                                                                                                                                        Parameters:
                                                                                                                                        xml - the XML
                                                                                                                                        Returns:
                                                                                                                                        DSL format

                                                                                                                                        +
                                                                                                                                      • +
                                                                                                                                      + + +
                                                                                                                                        +
                                                                                                                                      • +

                                                                                                                                        protected static void convertNode(groovy.util.Node node, java.lang.StringBuilder groovy, int indentLevel)

                                                                                                                                        +

                                                                                                                                        +
                                                                                                                                      • +
                                                                                                                                      + +
                                                                                                                                    • +
                                                                                                                                    + +
                                                                                                                                  • +
                                                                                                                                  +
                                                                                                                                  + + + +
                                                                                                                                  + + + + + +
                                                                                                                                  + + +
                                                                                                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#convert(java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#convert(java.lang.String) new file mode 100644 index 000000000000..237a40712fc1 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#convert(java.lang.String) @@ -0,0 +1,386 @@ + + + + + + + + + + + ChangelogXml2Groovy (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                  + + + + + +
                                                                                                                                  + + + + + +
                                                                                                                                  + +
                                                                                                                                  Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                  + +

                                                                                                                                  [Groovy] Class ChangelogXml2Groovy

                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                  +
                                                                                                                                    +
                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.ChangelogXml2Groovy +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                      +
                                                                                                                                    • + + + +
                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                      +class ChangelogXml2Groovy
                                                                                                                                      +extends java.lang.Object
                                                                                                                                      + +

                                                                                                                                      Generates a Groovy DSL version of a Liquibase XML changelog.

                                                                                                                                      Authors:
                                                                                                                                      Burt Beckwith
                                                                                                                                      Kazuki YAMAMOTO

                                                                                                                                      + +
                                                                                                                                    • +
                                                                                                                                    +
                                                                                                                                    + +
                                                                                                                                    +
                                                                                                                                      +
                                                                                                                                    • + + + + + + + +
                                                                                                                                        +
                                                                                                                                      • +

                                                                                                                                        Field Summary

                                                                                                                                        +
                                                                                                                                          + + + + + + + + + + + + + + +
                                                                                                                                          Fields 
                                                                                                                                          ModifiersNameDescription
                                                                                                                                          protected static java.lang.String NEWLINE
                                                                                                                                          +
                                                                                                                                        +
                                                                                                                                      • + +
                                                                                                                                      + + + + + + + + + + +
                                                                                                                                        +
                                                                                                                                      • +

                                                                                                                                        Constructor Summary

                                                                                                                                        + +
                                                                                                                                      • +
                                                                                                                                      + + + + +
                                                                                                                                        + +
                                                                                                                                      • +

                                                                                                                                        Methods Summary

                                                                                                                                        +
                                                                                                                                          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                          Methods 
                                                                                                                                          Type ParamsReturn TypeName and description
                                                                                                                                          protected static voidappendAttrs(java.lang.StringBuilder groovy, groovy.util.Node node, java.lang.String text)
                                                                                                                                          protected static voidappendWithIndent(int indentLevel, java.lang.StringBuilder groovy, java.lang.String s)
                                                                                                                                          static java.lang.Stringconvert(java.lang.String xml)
                                                                                                                                          Convert a Liquibase XML changelog to Groovy DSL format.
                                                                                                                                          protected static voidconvertNode(groovy.util.Node node, java.lang.StringBuilder groovy, int indentLevel)
                                                                                                                                          +
                                                                                                                                        +
                                                                                                                                      • + +
                                                                                                                                      • +

                                                                                                                                        Inherited Methods Summary

                                                                                                                                        +
                                                                                                                                          + + + + + + + + + + + +
                                                                                                                                          Inherited Methods 
                                                                                                                                          Methods inherited from className
                                                                                                                                          class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                                          +
                                                                                                                                        +
                                                                                                                                      • + +
                                                                                                                                      + +
                                                                                                                                    • +
                                                                                                                                    +
                                                                                                                                    + +
                                                                                                                                    +
                                                                                                                                      +
                                                                                                                                    • + + + + +
                                                                                                                                        +
                                                                                                                                      • + + +

                                                                                                                                        Field Detail

                                                                                                                                        + + +
                                                                                                                                          +
                                                                                                                                        • +

                                                                                                                                          protected static final java.lang.String NEWLINE

                                                                                                                                          +

                                                                                                                                          +
                                                                                                                                        • +
                                                                                                                                        + +
                                                                                                                                      • +
                                                                                                                                      + + + + + + + + +
                                                                                                                                        +
                                                                                                                                      • + + +

                                                                                                                                        Constructor Detail

                                                                                                                                        + + +
                                                                                                                                          +
                                                                                                                                        • +

                                                                                                                                          ChangelogXml2Groovy()

                                                                                                                                          +

                                                                                                                                          +
                                                                                                                                        • +
                                                                                                                                        + +
                                                                                                                                      • +
                                                                                                                                      + + + + + +
                                                                                                                                        +
                                                                                                                                      • + + +

                                                                                                                                        Method Detail

                                                                                                                                        + + +
                                                                                                                                          +
                                                                                                                                        • +

                                                                                                                                          protected static void appendAttrs(java.lang.StringBuilder groovy, groovy.util.Node node, java.lang.String text)

                                                                                                                                          +

                                                                                                                                          +
                                                                                                                                        • +
                                                                                                                                        + + +
                                                                                                                                          +
                                                                                                                                        • +

                                                                                                                                          protected static void appendWithIndent(int indentLevel, java.lang.StringBuilder groovy, java.lang.String s)

                                                                                                                                          +

                                                                                                                                          +
                                                                                                                                        • +
                                                                                                                                        + + +
                                                                                                                                          +
                                                                                                                                        • +

                                                                                                                                          static java.lang.String convert(java.lang.String xml)

                                                                                                                                          +

                                                                                                                                          Convert a Liquibase XML changelog to Groovy DSL format.

                                                                                                                                          Parameters:
                                                                                                                                          xml - the XML
                                                                                                                                          Returns:
                                                                                                                                          DSL format

                                                                                                                                          +
                                                                                                                                        • +
                                                                                                                                        + + +
                                                                                                                                          +
                                                                                                                                        • +

                                                                                                                                          protected static void convertNode(groovy.util.Node node, java.lang.StringBuilder groovy, int indentLevel)

                                                                                                                                          +

                                                                                                                                          +
                                                                                                                                        • +
                                                                                                                                        + +
                                                                                                                                      • +
                                                                                                                                      + +
                                                                                                                                    • +
                                                                                                                                    +
                                                                                                                                    + + + +
                                                                                                                                    + + + + + +
                                                                                                                                    + + +
                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#convertNode(groovy.util.Node, java.lang.StringBuilder, int) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#convertNode(groovy.util.Node, java.lang.StringBuilder, int) new file mode 100644 index 000000000000..237a40712fc1 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/ChangelogXml2Groovy.html#convertNode(groovy.util.Node, java.lang.StringBuilder, int) @@ -0,0 +1,386 @@ + + + + + + + + + + + ChangelogXml2Groovy (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                    + + + + + +
                                                                                                                                    + + + + + +
                                                                                                                                    + +
                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                    + +

                                                                                                                                    [Groovy] Class ChangelogXml2Groovy

                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                    +
                                                                                                                                      +
                                                                                                                                      • org.grails.plugins.databasemigration.liquibase.ChangelogXml2Groovy +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                        +
                                                                                                                                      • + + + +
                                                                                                                                        +
                                                                                                                                        + +
                                                                                                                                        @groovy.transform.CompileStatic
                                                                                                                                        +class ChangelogXml2Groovy
                                                                                                                                        +extends java.lang.Object
                                                                                                                                        + +

                                                                                                                                        Generates a Groovy DSL version of a Liquibase XML changelog.

                                                                                                                                        Authors:
                                                                                                                                        Burt Beckwith
                                                                                                                                        Kazuki YAMAMOTO

                                                                                                                                        + +
                                                                                                                                      • +
                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      +
                                                                                                                                        +
                                                                                                                                      • + + + + + + + +
                                                                                                                                          +
                                                                                                                                        • +

                                                                                                                                          Field Summary

                                                                                                                                          +
                                                                                                                                            + + + + + + + + + + + + + + +
                                                                                                                                            Fields 
                                                                                                                                            ModifiersNameDescription
                                                                                                                                            protected static java.lang.String NEWLINE
                                                                                                                                            +
                                                                                                                                          +
                                                                                                                                        • + +
                                                                                                                                        + + + + + + + + + + +
                                                                                                                                          +
                                                                                                                                        • +

                                                                                                                                          Constructor Summary

                                                                                                                                          + +
                                                                                                                                        • +
                                                                                                                                        + + + + +
                                                                                                                                          + +
                                                                                                                                        • +

                                                                                                                                          Methods Summary

                                                                                                                                          +
                                                                                                                                            + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                            Methods 
                                                                                                                                            Type ParamsReturn TypeName and description
                                                                                                                                            protected static voidappendAttrs(java.lang.StringBuilder groovy, groovy.util.Node node, java.lang.String text)
                                                                                                                                            protected static voidappendWithIndent(int indentLevel, java.lang.StringBuilder groovy, java.lang.String s)
                                                                                                                                            static java.lang.Stringconvert(java.lang.String xml)
                                                                                                                                            Convert a Liquibase XML changelog to Groovy DSL format.
                                                                                                                                            protected static voidconvertNode(groovy.util.Node node, java.lang.StringBuilder groovy, int indentLevel)
                                                                                                                                            +
                                                                                                                                          +
                                                                                                                                        • + +
                                                                                                                                        • +

                                                                                                                                          Inherited Methods Summary

                                                                                                                                          +
                                                                                                                                            + + + + + + + + + + + +
                                                                                                                                            Inherited Methods 
                                                                                                                                            Methods inherited from className
                                                                                                                                            class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                                            +
                                                                                                                                          +
                                                                                                                                        • + +
                                                                                                                                        + +
                                                                                                                                      • +
                                                                                                                                      +
                                                                                                                                      + +
                                                                                                                                      +
                                                                                                                                        +
                                                                                                                                      • + + + + +
                                                                                                                                          +
                                                                                                                                        • + + +

                                                                                                                                          Field Detail

                                                                                                                                          + + +
                                                                                                                                            +
                                                                                                                                          • +

                                                                                                                                            protected static final java.lang.String NEWLINE

                                                                                                                                            +

                                                                                                                                            +
                                                                                                                                          • +
                                                                                                                                          + +
                                                                                                                                        • +
                                                                                                                                        + + + + + + + + +
                                                                                                                                          +
                                                                                                                                        • + + +

                                                                                                                                          Constructor Detail

                                                                                                                                          + + +
                                                                                                                                            +
                                                                                                                                          • +

                                                                                                                                            ChangelogXml2Groovy()

                                                                                                                                            +

                                                                                                                                            +
                                                                                                                                          • +
                                                                                                                                          + +
                                                                                                                                        • +
                                                                                                                                        + + + + + +
                                                                                                                                          +
                                                                                                                                        • + + +

                                                                                                                                          Method Detail

                                                                                                                                          + + +
                                                                                                                                            +
                                                                                                                                          • +

                                                                                                                                            protected static void appendAttrs(java.lang.StringBuilder groovy, groovy.util.Node node, java.lang.String text)

                                                                                                                                            +

                                                                                                                                            +
                                                                                                                                          • +
                                                                                                                                          + + +
                                                                                                                                            +
                                                                                                                                          • +

                                                                                                                                            protected static void appendWithIndent(int indentLevel, java.lang.StringBuilder groovy, java.lang.String s)

                                                                                                                                            +

                                                                                                                                            +
                                                                                                                                          • +
                                                                                                                                          + + +
                                                                                                                                            +
                                                                                                                                          • +

                                                                                                                                            static java.lang.String convert(java.lang.String xml)

                                                                                                                                            +

                                                                                                                                            Convert a Liquibase XML changelog to Groovy DSL format.

                                                                                                                                            Parameters:
                                                                                                                                            xml - the XML
                                                                                                                                            Returns:
                                                                                                                                            DSL format

                                                                                                                                            +
                                                                                                                                          • +
                                                                                                                                          + + +
                                                                                                                                            +
                                                                                                                                          • +

                                                                                                                                            protected static void convertNode(groovy.util.Node node, java.lang.StringBuilder groovy, int indentLevel)

                                                                                                                                            +

                                                                                                                                            +
                                                                                                                                          • +
                                                                                                                                          + +
                                                                                                                                        • +
                                                                                                                                        + +
                                                                                                                                      • +
                                                                                                                                      +
                                                                                                                                      + + + +
                                                                                                                                      + + + + + +
                                                                                                                                      + + +
                                                                                                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html new file mode 100644 index 000000000000..81e8da47e05d --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html @@ -0,0 +1,456 @@ + + + + + + + + + + + DatabaseChangeLogBuilder (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                      + + + + + +
                                                                                                                                      + + + + + +
                                                                                                                                      + +
                                                                                                                                      Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                      + +

                                                                                                                                      [Groovy] Class DatabaseChangeLogBuilder

                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                      +
                                                                                                                                        +
                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.DatabaseChangeLogBuilder +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                              +
                                                                                                                                            • + + + +
                                                                                                                                              +
                                                                                                                                              + +
                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                              +class DatabaseChangeLogBuilder
                                                                                                                                              +extends groovy.util.BuilderSupport
                                                                                                                                              + +
                                                                                                                                            • +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                              +
                                                                                                                                            • + + + + + + + + + + + + + + + + + + +
                                                                                                                                                +
                                                                                                                                              • +

                                                                                                                                                Constructor Summary

                                                                                                                                                + +
                                                                                                                                              • +
                                                                                                                                              + + + + +
                                                                                                                                                + +
                                                                                                                                              • +

                                                                                                                                                Methods Summary

                                                                                                                                                +
                                                                                                                                                  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                  Methods 
                                                                                                                                                  Type ParamsReturn TypeName and description
                                                                                                                                                  protected java.lang.ObjectcreateNode(java.lang.Object name)
                                                                                                                                                  protected java.lang.ObjectcreateNode(java.lang.Object name, java.lang.Object value)
                                                                                                                                                  protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes)
                                                                                                                                                  protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)
                                                                                                                                                  java.lang.ObjectinvokeMethod(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                  protected voidprocessGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                  protected booleanprocessGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                  protected voidsetParent(java.lang.Object parent, java.lang.Object child)
                                                                                                                                                  +
                                                                                                                                                +
                                                                                                                                              • + +
                                                                                                                                              • +

                                                                                                                                                Inherited Methods Summary

                                                                                                                                                +
                                                                                                                                                  + + + + + + + + + + + +
                                                                                                                                                  Inherited Methods 
                                                                                                                                                  Methods inherited from className
                                                                                                                                                  class groovy.util.BuilderSupportgroovy.util.BuilderSupport#invokeMethod(java.lang.String), groovy.util.BuilderSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.util.BuilderSupport#getMetaClass(), groovy.util.BuilderSupport#setMetaClass(groovy.lang.MetaClass), groovy.util.BuilderSupport#wait(long), groovy.util.BuilderSupport#wait(long, int), groovy.util.BuilderSupport#wait(), groovy.util.BuilderSupport#equals(java.lang.Object), groovy.util.BuilderSupport#toString(), groovy.util.BuilderSupport#hashCode(), groovy.util.BuilderSupport#getClass(), groovy.util.BuilderSupport#notify(), groovy.util.BuilderSupport#notifyAll(), groovy.util.BuilderSupport#getProperty(java.lang.String), groovy.util.BuilderSupport#setProperty(java.lang.String, java.lang.Object)
                                                                                                                                                  +
                                                                                                                                                +
                                                                                                                                              • + +
                                                                                                                                              + +
                                                                                                                                            • +
                                                                                                                                            +
                                                                                                                                            + +
                                                                                                                                            +
                                                                                                                                              +
                                                                                                                                            • + + + + + + +
                                                                                                                                                +
                                                                                                                                              • + + +

                                                                                                                                                Property Detail

                                                                                                                                                + + + + + +
                                                                                                                                                  +
                                                                                                                                                • +

                                                                                                                                                  java.lang.String dataSourceName

                                                                                                                                                  +

                                                                                                                                                  +
                                                                                                                                                • +
                                                                                                                                                + +
                                                                                                                                              • +
                                                                                                                                              + + + + + + +
                                                                                                                                                +
                                                                                                                                              • + + +

                                                                                                                                                Constructor Detail

                                                                                                                                                + + +
                                                                                                                                                  +
                                                                                                                                                • +

                                                                                                                                                  DatabaseChangeLogBuilder()

                                                                                                                                                  +

                                                                                                                                                  +
                                                                                                                                                • +
                                                                                                                                                + +
                                                                                                                                              • +
                                                                                                                                              + + + + + +
                                                                                                                                                +
                                                                                                                                              • + + +

                                                                                                                                                Method Detail

                                                                                                                                                + + +
                                                                                                                                                  +
                                                                                                                                                • +

                                                                                                                                                  @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name)

                                                                                                                                                  +

                                                                                                                                                  +
                                                                                                                                                • +
                                                                                                                                                + + +
                                                                                                                                                  +
                                                                                                                                                • +

                                                                                                                                                  @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.lang.Object value)

                                                                                                                                                  +

                                                                                                                                                  +
                                                                                                                                                • +
                                                                                                                                                + + +
                                                                                                                                                  +
                                                                                                                                                • +

                                                                                                                                                  @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes)

                                                                                                                                                  +

                                                                                                                                                  +
                                                                                                                                                • +
                                                                                                                                                + + +
                                                                                                                                                  +
                                                                                                                                                • +

                                                                                                                                                  @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)

                                                                                                                                                  +

                                                                                                                                                  +
                                                                                                                                                • +
                                                                                                                                                + + +
                                                                                                                                                  +
                                                                                                                                                • +

                                                                                                                                                  @java.lang.Override +java.lang.Object invokeMethod(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                  +

                                                                                                                                                  +
                                                                                                                                                • +
                                                                                                                                                + + +
                                                                                                                                                  +
                                                                                                                                                • +

                                                                                                                                                  protected void processGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                  +

                                                                                                                                                  +
                                                                                                                                                • +
                                                                                                                                                + + +
                                                                                                                                                  +
                                                                                                                                                • +

                                                                                                                                                  protected boolean processGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                  +

                                                                                                                                                  +
                                                                                                                                                • +
                                                                                                                                                + + +
                                                                                                                                                  +
                                                                                                                                                • +

                                                                                                                                                  @java.lang.Override +protected void setParent(java.lang.Object parent, java.lang.Object child)

                                                                                                                                                  +

                                                                                                                                                  +
                                                                                                                                                • +
                                                                                                                                                + +
                                                                                                                                              • +
                                                                                                                                              + +
                                                                                                                                            • +
                                                                                                                                            +
                                                                                                                                            + + + +
                                                                                                                                            + + + + + +
                                                                                                                                            + + +
                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#DatabaseChangeLogBuilder() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#DatabaseChangeLogBuilder() new file mode 100644 index 000000000000..81e8da47e05d --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#DatabaseChangeLogBuilder() @@ -0,0 +1,456 @@ + + + + + + + + + + + DatabaseChangeLogBuilder (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                            + + + + + +
                                                                                                                                            + + + + + +
                                                                                                                                            + +
                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                            + +

                                                                                                                                            [Groovy] Class DatabaseChangeLogBuilder

                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                            +
                                                                                                                                              +
                                                                                                                                                  • org.grails.plugins.databasemigration.liquibase.DatabaseChangeLogBuilder +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                    +
                                                                                                                                                  • + + + +
                                                                                                                                                    +
                                                                                                                                                    + +
                                                                                                                                                    @groovy.transform.CompileStatic
                                                                                                                                                    +class DatabaseChangeLogBuilder
                                                                                                                                                    +extends groovy.util.BuilderSupport
                                                                                                                                                    + +
                                                                                                                                                  • +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                    +
                                                                                                                                                  • + + + + + + + + + + + + + + + + + + +
                                                                                                                                                      +
                                                                                                                                                    • +

                                                                                                                                                      Constructor Summary

                                                                                                                                                      + +
                                                                                                                                                    • +
                                                                                                                                                    + + + + +
                                                                                                                                                      + +
                                                                                                                                                    • +

                                                                                                                                                      Methods Summary

                                                                                                                                                      +
                                                                                                                                                        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                        Methods 
                                                                                                                                                        Type ParamsReturn TypeName and description
                                                                                                                                                        protected java.lang.ObjectcreateNode(java.lang.Object name)
                                                                                                                                                        protected java.lang.ObjectcreateNode(java.lang.Object name, java.lang.Object value)
                                                                                                                                                        protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes)
                                                                                                                                                        protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)
                                                                                                                                                        java.lang.ObjectinvokeMethod(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                        protected voidprocessGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                        protected booleanprocessGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                        protected voidsetParent(java.lang.Object parent, java.lang.Object child)
                                                                                                                                                        +
                                                                                                                                                      +
                                                                                                                                                    • + +
                                                                                                                                                    • +

                                                                                                                                                      Inherited Methods Summary

                                                                                                                                                      +
                                                                                                                                                        + + + + + + + + + + + +
                                                                                                                                                        Inherited Methods 
                                                                                                                                                        Methods inherited from className
                                                                                                                                                        class groovy.util.BuilderSupportgroovy.util.BuilderSupport#invokeMethod(java.lang.String), groovy.util.BuilderSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.util.BuilderSupport#getMetaClass(), groovy.util.BuilderSupport#setMetaClass(groovy.lang.MetaClass), groovy.util.BuilderSupport#wait(long), groovy.util.BuilderSupport#wait(long, int), groovy.util.BuilderSupport#wait(), groovy.util.BuilderSupport#equals(java.lang.Object), groovy.util.BuilderSupport#toString(), groovy.util.BuilderSupport#hashCode(), groovy.util.BuilderSupport#getClass(), groovy.util.BuilderSupport#notify(), groovy.util.BuilderSupport#notifyAll(), groovy.util.BuilderSupport#getProperty(java.lang.String), groovy.util.BuilderSupport#setProperty(java.lang.String, java.lang.Object)
                                                                                                                                                        +
                                                                                                                                                      +
                                                                                                                                                    • + +
                                                                                                                                                    + +
                                                                                                                                                  • +
                                                                                                                                                  +
                                                                                                                                                  + +
                                                                                                                                                  +
                                                                                                                                                    +
                                                                                                                                                  • + + + + + + +
                                                                                                                                                      +
                                                                                                                                                    • + + +

                                                                                                                                                      Property Detail

                                                                                                                                                      + + + + + +
                                                                                                                                                        +
                                                                                                                                                      • +

                                                                                                                                                        java.lang.String dataSourceName

                                                                                                                                                        +

                                                                                                                                                        +
                                                                                                                                                      • +
                                                                                                                                                      + +
                                                                                                                                                    • +
                                                                                                                                                    + + + + + + +
                                                                                                                                                      +
                                                                                                                                                    • + + +

                                                                                                                                                      Constructor Detail

                                                                                                                                                      + + +
                                                                                                                                                        +
                                                                                                                                                      • +

                                                                                                                                                        DatabaseChangeLogBuilder()

                                                                                                                                                        +

                                                                                                                                                        +
                                                                                                                                                      • +
                                                                                                                                                      + +
                                                                                                                                                    • +
                                                                                                                                                    + + + + + +
                                                                                                                                                      +
                                                                                                                                                    • + + +

                                                                                                                                                      Method Detail

                                                                                                                                                      + + +
                                                                                                                                                        +
                                                                                                                                                      • +

                                                                                                                                                        @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name)

                                                                                                                                                        +

                                                                                                                                                        +
                                                                                                                                                      • +
                                                                                                                                                      + + +
                                                                                                                                                        +
                                                                                                                                                      • +

                                                                                                                                                        @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.lang.Object value)

                                                                                                                                                        +

                                                                                                                                                        +
                                                                                                                                                      • +
                                                                                                                                                      + + +
                                                                                                                                                        +
                                                                                                                                                      • +

                                                                                                                                                        @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes)

                                                                                                                                                        +

                                                                                                                                                        +
                                                                                                                                                      • +
                                                                                                                                                      + + +
                                                                                                                                                        +
                                                                                                                                                      • +

                                                                                                                                                        @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)

                                                                                                                                                        +

                                                                                                                                                        +
                                                                                                                                                      • +
                                                                                                                                                      + + +
                                                                                                                                                        +
                                                                                                                                                      • +

                                                                                                                                                        @java.lang.Override +java.lang.Object invokeMethod(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                        +

                                                                                                                                                        +
                                                                                                                                                      • +
                                                                                                                                                      + + +
                                                                                                                                                        +
                                                                                                                                                      • +

                                                                                                                                                        protected void processGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                        +

                                                                                                                                                        +
                                                                                                                                                      • +
                                                                                                                                                      + + +
                                                                                                                                                        +
                                                                                                                                                      • +

                                                                                                                                                        protected boolean processGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                        +

                                                                                                                                                        +
                                                                                                                                                      • +
                                                                                                                                                      + + +
                                                                                                                                                        +
                                                                                                                                                      • +

                                                                                                                                                        @java.lang.Override +protected void setParent(java.lang.Object parent, java.lang.Object child)

                                                                                                                                                        +

                                                                                                                                                        +
                                                                                                                                                      • +
                                                                                                                                                      + +
                                                                                                                                                    • +
                                                                                                                                                    + +
                                                                                                                                                  • +
                                                                                                                                                  +
                                                                                                                                                  + + + +
                                                                                                                                                  + + + + + +
                                                                                                                                                  + + +
                                                                                                                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#applicationContext b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#applicationContext new file mode 100644 index 000000000000..81e8da47e05d --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#applicationContext @@ -0,0 +1,456 @@ + + + + + + + + + + + DatabaseChangeLogBuilder (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                  + + + + + +
                                                                                                                                                  + + + + + +
                                                                                                                                                  + +
                                                                                                                                                  Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                  + +

                                                                                                                                                  [Groovy] Class DatabaseChangeLogBuilder

                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                  +
                                                                                                                                                    +
                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.DatabaseChangeLogBuilder +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                          +
                                                                                                                                                        • + + + +
                                                                                                                                                          +
                                                                                                                                                          + +
                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                          +class DatabaseChangeLogBuilder
                                                                                                                                                          +extends groovy.util.BuilderSupport
                                                                                                                                                          + +
                                                                                                                                                        • +
                                                                                                                                                        +
                                                                                                                                                        + +
                                                                                                                                                        +
                                                                                                                                                          +
                                                                                                                                                        • + + + + + + + + + + + + + + + + + + +
                                                                                                                                                            +
                                                                                                                                                          • +

                                                                                                                                                            Constructor Summary

                                                                                                                                                            + +
                                                                                                                                                          • +
                                                                                                                                                          + + + + +
                                                                                                                                                            + +
                                                                                                                                                          • +

                                                                                                                                                            Methods Summary

                                                                                                                                                            +
                                                                                                                                                              + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                              Methods 
                                                                                                                                                              Type ParamsReturn TypeName and description
                                                                                                                                                              protected java.lang.ObjectcreateNode(java.lang.Object name)
                                                                                                                                                              protected java.lang.ObjectcreateNode(java.lang.Object name, java.lang.Object value)
                                                                                                                                                              protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes)
                                                                                                                                                              protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)
                                                                                                                                                              java.lang.ObjectinvokeMethod(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                              protected voidprocessGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                              protected booleanprocessGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                              protected voidsetParent(java.lang.Object parent, java.lang.Object child)
                                                                                                                                                              +
                                                                                                                                                            +
                                                                                                                                                          • + +
                                                                                                                                                          • +

                                                                                                                                                            Inherited Methods Summary

                                                                                                                                                            +
                                                                                                                                                              + + + + + + + + + + + +
                                                                                                                                                              Inherited Methods 
                                                                                                                                                              Methods inherited from className
                                                                                                                                                              class groovy.util.BuilderSupportgroovy.util.BuilderSupport#invokeMethod(java.lang.String), groovy.util.BuilderSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.util.BuilderSupport#getMetaClass(), groovy.util.BuilderSupport#setMetaClass(groovy.lang.MetaClass), groovy.util.BuilderSupport#wait(long), groovy.util.BuilderSupport#wait(long, int), groovy.util.BuilderSupport#wait(), groovy.util.BuilderSupport#equals(java.lang.Object), groovy.util.BuilderSupport#toString(), groovy.util.BuilderSupport#hashCode(), groovy.util.BuilderSupport#getClass(), groovy.util.BuilderSupport#notify(), groovy.util.BuilderSupport#notifyAll(), groovy.util.BuilderSupport#getProperty(java.lang.String), groovy.util.BuilderSupport#setProperty(java.lang.String, java.lang.Object)
                                                                                                                                                              +
                                                                                                                                                            +
                                                                                                                                                          • + +
                                                                                                                                                          + +
                                                                                                                                                        • +
                                                                                                                                                        +
                                                                                                                                                        + +
                                                                                                                                                        +
                                                                                                                                                          +
                                                                                                                                                        • + + + + + + +
                                                                                                                                                            +
                                                                                                                                                          • + + +

                                                                                                                                                            Property Detail

                                                                                                                                                            + + + + + +
                                                                                                                                                              +
                                                                                                                                                            • +

                                                                                                                                                              java.lang.String dataSourceName

                                                                                                                                                              +

                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            + +
                                                                                                                                                          • +
                                                                                                                                                          + + + + + + +
                                                                                                                                                            +
                                                                                                                                                          • + + +

                                                                                                                                                            Constructor Detail

                                                                                                                                                            + + +
                                                                                                                                                              +
                                                                                                                                                            • +

                                                                                                                                                              DatabaseChangeLogBuilder()

                                                                                                                                                              +

                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            + +
                                                                                                                                                          • +
                                                                                                                                                          + + + + + +
                                                                                                                                                            +
                                                                                                                                                          • + + +

                                                                                                                                                            Method Detail

                                                                                                                                                            + + +
                                                                                                                                                              +
                                                                                                                                                            • +

                                                                                                                                                              @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name)

                                                                                                                                                              +

                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            + + +
                                                                                                                                                              +
                                                                                                                                                            • +

                                                                                                                                                              @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.lang.Object value)

                                                                                                                                                              +

                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            + + +
                                                                                                                                                              +
                                                                                                                                                            • +

                                                                                                                                                              @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes)

                                                                                                                                                              +

                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            + + +
                                                                                                                                                              +
                                                                                                                                                            • +

                                                                                                                                                              @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)

                                                                                                                                                              +

                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            + + +
                                                                                                                                                              +
                                                                                                                                                            • +

                                                                                                                                                              @java.lang.Override +java.lang.Object invokeMethod(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                              +

                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            + + +
                                                                                                                                                              +
                                                                                                                                                            • +

                                                                                                                                                              protected void processGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                              +

                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            + + +
                                                                                                                                                              +
                                                                                                                                                            • +

                                                                                                                                                              protected boolean processGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                              +

                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            + + +
                                                                                                                                                              +
                                                                                                                                                            • +

                                                                                                                                                              @java.lang.Override +protected void setParent(java.lang.Object parent, java.lang.Object child)

                                                                                                                                                              +

                                                                                                                                                              +
                                                                                                                                                            • +
                                                                                                                                                            + +
                                                                                                                                                          • +
                                                                                                                                                          + +
                                                                                                                                                        • +
                                                                                                                                                        +
                                                                                                                                                        + + + +
                                                                                                                                                        + + + + + +
                                                                                                                                                        + + +
                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#createNode(java.lang.Object, java.util.Map, java.lang.Object) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#createNode(java.lang.Object, java.util.Map, java.lang.Object) new file mode 100644 index 000000000000..81e8da47e05d --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#createNode(java.lang.Object, java.util.Map, java.lang.Object) @@ -0,0 +1,456 @@ + + + + + + + + + + + DatabaseChangeLogBuilder (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                        + + + + + +
                                                                                                                                                        + + + + + +
                                                                                                                                                        + +
                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                        + +

                                                                                                                                                        [Groovy] Class DatabaseChangeLogBuilder

                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                        +
                                                                                                                                                          +
                                                                                                                                                              • org.grails.plugins.databasemigration.liquibase.DatabaseChangeLogBuilder +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • + + + +
                                                                                                                                                                +
                                                                                                                                                                + +
                                                                                                                                                                @groovy.transform.CompileStatic
                                                                                                                                                                +class DatabaseChangeLogBuilder
                                                                                                                                                                +extends groovy.util.BuilderSupport
                                                                                                                                                                + +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                  +
                                                                                                                                                                • +

                                                                                                                                                                  Constructor Summary

                                                                                                                                                                  + +
                                                                                                                                                                • +
                                                                                                                                                                + + + + +
                                                                                                                                                                  + +
                                                                                                                                                                • +

                                                                                                                                                                  Methods Summary

                                                                                                                                                                  +
                                                                                                                                                                    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                    Methods 
                                                                                                                                                                    Type ParamsReturn TypeName and description
                                                                                                                                                                    protected java.lang.ObjectcreateNode(java.lang.Object name)
                                                                                                                                                                    protected java.lang.ObjectcreateNode(java.lang.Object name, java.lang.Object value)
                                                                                                                                                                    protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes)
                                                                                                                                                                    protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)
                                                                                                                                                                    java.lang.ObjectinvokeMethod(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                    protected voidprocessGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                    protected booleanprocessGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                    protected voidsetParent(java.lang.Object parent, java.lang.Object child)
                                                                                                                                                                    +
                                                                                                                                                                  +
                                                                                                                                                                • + +
                                                                                                                                                                • +

                                                                                                                                                                  Inherited Methods Summary

                                                                                                                                                                  +
                                                                                                                                                                    + + + + + + + + + + + +
                                                                                                                                                                    Inherited Methods 
                                                                                                                                                                    Methods inherited from className
                                                                                                                                                                    class groovy.util.BuilderSupportgroovy.util.BuilderSupport#invokeMethod(java.lang.String), groovy.util.BuilderSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.util.BuilderSupport#getMetaClass(), groovy.util.BuilderSupport#setMetaClass(groovy.lang.MetaClass), groovy.util.BuilderSupport#wait(long), groovy.util.BuilderSupport#wait(long, int), groovy.util.BuilderSupport#wait(), groovy.util.BuilderSupport#equals(java.lang.Object), groovy.util.BuilderSupport#toString(), groovy.util.BuilderSupport#hashCode(), groovy.util.BuilderSupport#getClass(), groovy.util.BuilderSupport#notify(), groovy.util.BuilderSupport#notifyAll(), groovy.util.BuilderSupport#getProperty(java.lang.String), groovy.util.BuilderSupport#setProperty(java.lang.String, java.lang.Object)
                                                                                                                                                                    +
                                                                                                                                                                  +
                                                                                                                                                                • + +
                                                                                                                                                                + +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              + +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                              • + + + + + + +
                                                                                                                                                                  +
                                                                                                                                                                • + + +

                                                                                                                                                                  Property Detail

                                                                                                                                                                  + + + + + +
                                                                                                                                                                    +
                                                                                                                                                                  • +

                                                                                                                                                                    java.lang.String dataSourceName

                                                                                                                                                                    +

                                                                                                                                                                    +
                                                                                                                                                                  • +
                                                                                                                                                                  + +
                                                                                                                                                                • +
                                                                                                                                                                + + + + + + +
                                                                                                                                                                  +
                                                                                                                                                                • + + +

                                                                                                                                                                  Constructor Detail

                                                                                                                                                                  + + +
                                                                                                                                                                    +
                                                                                                                                                                  • +

                                                                                                                                                                    DatabaseChangeLogBuilder()

                                                                                                                                                                    +

                                                                                                                                                                    +
                                                                                                                                                                  • +
                                                                                                                                                                  + +
                                                                                                                                                                • +
                                                                                                                                                                + + + + + +
                                                                                                                                                                  +
                                                                                                                                                                • + + +

                                                                                                                                                                  Method Detail

                                                                                                                                                                  + + +
                                                                                                                                                                    +
                                                                                                                                                                  • +

                                                                                                                                                                    @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name)

                                                                                                                                                                    +

                                                                                                                                                                    +
                                                                                                                                                                  • +
                                                                                                                                                                  + + +
                                                                                                                                                                    +
                                                                                                                                                                  • +

                                                                                                                                                                    @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.lang.Object value)

                                                                                                                                                                    +

                                                                                                                                                                    +
                                                                                                                                                                  • +
                                                                                                                                                                  + + +
                                                                                                                                                                    +
                                                                                                                                                                  • +

                                                                                                                                                                    @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes)

                                                                                                                                                                    +

                                                                                                                                                                    +
                                                                                                                                                                  • +
                                                                                                                                                                  + + +
                                                                                                                                                                    +
                                                                                                                                                                  • +

                                                                                                                                                                    @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)

                                                                                                                                                                    +

                                                                                                                                                                    +
                                                                                                                                                                  • +
                                                                                                                                                                  + + +
                                                                                                                                                                    +
                                                                                                                                                                  • +

                                                                                                                                                                    @java.lang.Override +java.lang.Object invokeMethod(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                    +

                                                                                                                                                                    +
                                                                                                                                                                  • +
                                                                                                                                                                  + + +
                                                                                                                                                                    +
                                                                                                                                                                  • +

                                                                                                                                                                    protected void processGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                    +

                                                                                                                                                                    +
                                                                                                                                                                  • +
                                                                                                                                                                  + + +
                                                                                                                                                                    +
                                                                                                                                                                  • +

                                                                                                                                                                    protected boolean processGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                    +

                                                                                                                                                                    +
                                                                                                                                                                  • +
                                                                                                                                                                  + + +
                                                                                                                                                                    +
                                                                                                                                                                  • +

                                                                                                                                                                    @java.lang.Override +protected void setParent(java.lang.Object parent, java.lang.Object child)

                                                                                                                                                                    +

                                                                                                                                                                    +
                                                                                                                                                                  • +
                                                                                                                                                                  + +
                                                                                                                                                                • +
                                                                                                                                                                + +
                                                                                                                                                              • +
                                                                                                                                                              +
                                                                                                                                                              + + + +
                                                                                                                                                              + + + + + +
                                                                                                                                                              + + +
                                                                                                                                                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#dataSourceName b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#dataSourceName new file mode 100644 index 000000000000..81e8da47e05d --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#dataSourceName @@ -0,0 +1,456 @@ + + + + + + + + + + + DatabaseChangeLogBuilder (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                              + + + + + +
                                                                                                                                                              + + + + + +
                                                                                                                                                              + +
                                                                                                                                                              Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                              + +

                                                                                                                                                              [Groovy] Class DatabaseChangeLogBuilder

                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                              +
                                                                                                                                                                +
                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.DatabaseChangeLogBuilder +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                      +
                                                                                                                                                                    • + + + +
                                                                                                                                                                      +
                                                                                                                                                                      + +
                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                      +class DatabaseChangeLogBuilder
                                                                                                                                                                      +extends groovy.util.BuilderSupport
                                                                                                                                                                      + +
                                                                                                                                                                    • +
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    +
                                                                                                                                                                      +
                                                                                                                                                                    • + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                        +
                                                                                                                                                                      • +

                                                                                                                                                                        Constructor Summary

                                                                                                                                                                        + +
                                                                                                                                                                      • +
                                                                                                                                                                      + + + + +
                                                                                                                                                                        + +
                                                                                                                                                                      • +

                                                                                                                                                                        Methods Summary

                                                                                                                                                                        +
                                                                                                                                                                          + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                          Methods 
                                                                                                                                                                          Type ParamsReturn TypeName and description
                                                                                                                                                                          protected java.lang.ObjectcreateNode(java.lang.Object name)
                                                                                                                                                                          protected java.lang.ObjectcreateNode(java.lang.Object name, java.lang.Object value)
                                                                                                                                                                          protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes)
                                                                                                                                                                          protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)
                                                                                                                                                                          java.lang.ObjectinvokeMethod(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                          protected voidprocessGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                          protected booleanprocessGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                          protected voidsetParent(java.lang.Object parent, java.lang.Object child)
                                                                                                                                                                          +
                                                                                                                                                                        +
                                                                                                                                                                      • + +
                                                                                                                                                                      • +

                                                                                                                                                                        Inherited Methods Summary

                                                                                                                                                                        +
                                                                                                                                                                          + + + + + + + + + + + +
                                                                                                                                                                          Inherited Methods 
                                                                                                                                                                          Methods inherited from className
                                                                                                                                                                          class groovy.util.BuilderSupportgroovy.util.BuilderSupport#invokeMethod(java.lang.String), groovy.util.BuilderSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.util.BuilderSupport#getMetaClass(), groovy.util.BuilderSupport#setMetaClass(groovy.lang.MetaClass), groovy.util.BuilderSupport#wait(long), groovy.util.BuilderSupport#wait(long, int), groovy.util.BuilderSupport#wait(), groovy.util.BuilderSupport#equals(java.lang.Object), groovy.util.BuilderSupport#toString(), groovy.util.BuilderSupport#hashCode(), groovy.util.BuilderSupport#getClass(), groovy.util.BuilderSupport#notify(), groovy.util.BuilderSupport#notifyAll(), groovy.util.BuilderSupport#getProperty(java.lang.String), groovy.util.BuilderSupport#setProperty(java.lang.String, java.lang.Object)
                                                                                                                                                                          +
                                                                                                                                                                        +
                                                                                                                                                                      • + +
                                                                                                                                                                      + +
                                                                                                                                                                    • +
                                                                                                                                                                    +
                                                                                                                                                                    + +
                                                                                                                                                                    +
                                                                                                                                                                      +
                                                                                                                                                                    • + + + + + + +
                                                                                                                                                                        +
                                                                                                                                                                      • + + +

                                                                                                                                                                        Property Detail

                                                                                                                                                                        + + + + + +
                                                                                                                                                                          +
                                                                                                                                                                        • +

                                                                                                                                                                          java.lang.String dataSourceName

                                                                                                                                                                          +

                                                                                                                                                                          +
                                                                                                                                                                        • +
                                                                                                                                                                        + +
                                                                                                                                                                      • +
                                                                                                                                                                      + + + + + + +
                                                                                                                                                                        +
                                                                                                                                                                      • + + +

                                                                                                                                                                        Constructor Detail

                                                                                                                                                                        + + +
                                                                                                                                                                          +
                                                                                                                                                                        • +

                                                                                                                                                                          DatabaseChangeLogBuilder()

                                                                                                                                                                          +

                                                                                                                                                                          +
                                                                                                                                                                        • +
                                                                                                                                                                        + +
                                                                                                                                                                      • +
                                                                                                                                                                      + + + + + +
                                                                                                                                                                        +
                                                                                                                                                                      • + + +

                                                                                                                                                                        Method Detail

                                                                                                                                                                        + + +
                                                                                                                                                                          +
                                                                                                                                                                        • +

                                                                                                                                                                          @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name)

                                                                                                                                                                          +

                                                                                                                                                                          +
                                                                                                                                                                        • +
                                                                                                                                                                        + + +
                                                                                                                                                                          +
                                                                                                                                                                        • +

                                                                                                                                                                          @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.lang.Object value)

                                                                                                                                                                          +

                                                                                                                                                                          +
                                                                                                                                                                        • +
                                                                                                                                                                        + + +
                                                                                                                                                                          +
                                                                                                                                                                        • +

                                                                                                                                                                          @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes)

                                                                                                                                                                          +

                                                                                                                                                                          +
                                                                                                                                                                        • +
                                                                                                                                                                        + + +
                                                                                                                                                                          +
                                                                                                                                                                        • +

                                                                                                                                                                          @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)

                                                                                                                                                                          +

                                                                                                                                                                          +
                                                                                                                                                                        • +
                                                                                                                                                                        + + +
                                                                                                                                                                          +
                                                                                                                                                                        • +

                                                                                                                                                                          @java.lang.Override +java.lang.Object invokeMethod(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                          +

                                                                                                                                                                          +
                                                                                                                                                                        • +
                                                                                                                                                                        + + +
                                                                                                                                                                          +
                                                                                                                                                                        • +

                                                                                                                                                                          protected void processGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                          +

                                                                                                                                                                          +
                                                                                                                                                                        • +
                                                                                                                                                                        + + +
                                                                                                                                                                          +
                                                                                                                                                                        • +

                                                                                                                                                                          protected boolean processGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                          +

                                                                                                                                                                          +
                                                                                                                                                                        • +
                                                                                                                                                                        + + +
                                                                                                                                                                          +
                                                                                                                                                                        • +

                                                                                                                                                                          @java.lang.Override +protected void setParent(java.lang.Object parent, java.lang.Object child)

                                                                                                                                                                          +

                                                                                                                                                                          +
                                                                                                                                                                        • +
                                                                                                                                                                        + +
                                                                                                                                                                      • +
                                                                                                                                                                      + +
                                                                                                                                                                    • +
                                                                                                                                                                    +
                                                                                                                                                                    + + + +
                                                                                                                                                                    + + + + + +
                                                                                                                                                                    + + +
                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#invokeMethod(java.lang.String, java.lang.Object) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#invokeMethod(java.lang.String, java.lang.Object) new file mode 100644 index 000000000000..81e8da47e05d --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#invokeMethod(java.lang.String, java.lang.Object) @@ -0,0 +1,456 @@ + + + + + + + + + + + DatabaseChangeLogBuilder (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                    + + + + + +
                                                                                                                                                                    + + + + + +
                                                                                                                                                                    + +
                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                    + +

                                                                                                                                                                    [Groovy] Class DatabaseChangeLogBuilder

                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                    +
                                                                                                                                                                      +
                                                                                                                                                                          • org.grails.plugins.databasemigration.liquibase.DatabaseChangeLogBuilder +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                            +
                                                                                                                                                                          • + + + +
                                                                                                                                                                            +
                                                                                                                                                                            + +
                                                                                                                                                                            @groovy.transform.CompileStatic
                                                                                                                                                                            +class DatabaseChangeLogBuilder
                                                                                                                                                                            +extends groovy.util.BuilderSupport
                                                                                                                                                                            + +
                                                                                                                                                                          • +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                            +
                                                                                                                                                                          • + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                              +
                                                                                                                                                                            • +

                                                                                                                                                                              Constructor Summary

                                                                                                                                                                              + +
                                                                                                                                                                            • +
                                                                                                                                                                            + + + + +
                                                                                                                                                                              + +
                                                                                                                                                                            • +

                                                                                                                                                                              Methods Summary

                                                                                                                                                                              +
                                                                                                                                                                                + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                Methods 
                                                                                                                                                                                Type ParamsReturn TypeName and description
                                                                                                                                                                                protected java.lang.ObjectcreateNode(java.lang.Object name)
                                                                                                                                                                                protected java.lang.ObjectcreateNode(java.lang.Object name, java.lang.Object value)
                                                                                                                                                                                protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes)
                                                                                                                                                                                protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)
                                                                                                                                                                                java.lang.ObjectinvokeMethod(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                                protected voidprocessGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                                protected booleanprocessGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                                protected voidsetParent(java.lang.Object parent, java.lang.Object child)
                                                                                                                                                                                +
                                                                                                                                                                              +
                                                                                                                                                                            • + +
                                                                                                                                                                            • +

                                                                                                                                                                              Inherited Methods Summary

                                                                                                                                                                              +
                                                                                                                                                                                + + + + + + + + + + + +
                                                                                                                                                                                Inherited Methods 
                                                                                                                                                                                Methods inherited from className
                                                                                                                                                                                class groovy.util.BuilderSupportgroovy.util.BuilderSupport#invokeMethod(java.lang.String), groovy.util.BuilderSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.util.BuilderSupport#getMetaClass(), groovy.util.BuilderSupport#setMetaClass(groovy.lang.MetaClass), groovy.util.BuilderSupport#wait(long), groovy.util.BuilderSupport#wait(long, int), groovy.util.BuilderSupport#wait(), groovy.util.BuilderSupport#equals(java.lang.Object), groovy.util.BuilderSupport#toString(), groovy.util.BuilderSupport#hashCode(), groovy.util.BuilderSupport#getClass(), groovy.util.BuilderSupport#notify(), groovy.util.BuilderSupport#notifyAll(), groovy.util.BuilderSupport#getProperty(java.lang.String), groovy.util.BuilderSupport#setProperty(java.lang.String, java.lang.Object)
                                                                                                                                                                                +
                                                                                                                                                                              +
                                                                                                                                                                            • + +
                                                                                                                                                                            + +
                                                                                                                                                                          • +
                                                                                                                                                                          +
                                                                                                                                                                          + +
                                                                                                                                                                          +
                                                                                                                                                                            +
                                                                                                                                                                          • + + + + + + +
                                                                                                                                                                              +
                                                                                                                                                                            • + + +

                                                                                                                                                                              Property Detail

                                                                                                                                                                              + + + + + +
                                                                                                                                                                                +
                                                                                                                                                                              • +

                                                                                                                                                                                java.lang.String dataSourceName

                                                                                                                                                                                +

                                                                                                                                                                                +
                                                                                                                                                                              • +
                                                                                                                                                                              + +
                                                                                                                                                                            • +
                                                                                                                                                                            + + + + + + +
                                                                                                                                                                              +
                                                                                                                                                                            • + + +

                                                                                                                                                                              Constructor Detail

                                                                                                                                                                              + + +
                                                                                                                                                                                +
                                                                                                                                                                              • +

                                                                                                                                                                                DatabaseChangeLogBuilder()

                                                                                                                                                                                +

                                                                                                                                                                                +
                                                                                                                                                                              • +
                                                                                                                                                                              + +
                                                                                                                                                                            • +
                                                                                                                                                                            + + + + + +
                                                                                                                                                                              +
                                                                                                                                                                            • + + +

                                                                                                                                                                              Method Detail

                                                                                                                                                                              + + +
                                                                                                                                                                                +
                                                                                                                                                                              • +

                                                                                                                                                                                @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name)

                                                                                                                                                                                +

                                                                                                                                                                                +
                                                                                                                                                                              • +
                                                                                                                                                                              + + +
                                                                                                                                                                                +
                                                                                                                                                                              • +

                                                                                                                                                                                @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.lang.Object value)

                                                                                                                                                                                +

                                                                                                                                                                                +
                                                                                                                                                                              • +
                                                                                                                                                                              + + +
                                                                                                                                                                                +
                                                                                                                                                                              • +

                                                                                                                                                                                @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes)

                                                                                                                                                                                +

                                                                                                                                                                                +
                                                                                                                                                                              • +
                                                                                                                                                                              + + +
                                                                                                                                                                                +
                                                                                                                                                                              • +

                                                                                                                                                                                @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)

                                                                                                                                                                                +

                                                                                                                                                                                +
                                                                                                                                                                              • +
                                                                                                                                                                              + + +
                                                                                                                                                                                +
                                                                                                                                                                              • +

                                                                                                                                                                                @java.lang.Override +java.lang.Object invokeMethod(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                                +

                                                                                                                                                                                +
                                                                                                                                                                              • +
                                                                                                                                                                              + + +
                                                                                                                                                                                +
                                                                                                                                                                              • +

                                                                                                                                                                                protected void processGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                                +

                                                                                                                                                                                +
                                                                                                                                                                              • +
                                                                                                                                                                              + + +
                                                                                                                                                                                +
                                                                                                                                                                              • +

                                                                                                                                                                                protected boolean processGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                                +

                                                                                                                                                                                +
                                                                                                                                                                              • +
                                                                                                                                                                              + + +
                                                                                                                                                                                +
                                                                                                                                                                              • +

                                                                                                                                                                                @java.lang.Override +protected void setParent(java.lang.Object parent, java.lang.Object child)

                                                                                                                                                                                +

                                                                                                                                                                                +
                                                                                                                                                                              • +
                                                                                                                                                                              + +
                                                                                                                                                                            • +
                                                                                                                                                                            + +
                                                                                                                                                                          • +
                                                                                                                                                                          +
                                                                                                                                                                          + + + +
                                                                                                                                                                          + + + + + +
                                                                                                                                                                          + + +
                                                                                                                                                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#processGrailsChangeProperty(java.lang.String, java.lang.Object) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#processGrailsChangeProperty(java.lang.String, java.lang.Object) new file mode 100644 index 000000000000..81e8da47e05d --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#processGrailsChangeProperty(java.lang.String, java.lang.Object) @@ -0,0 +1,456 @@ + + + + + + + + + + + DatabaseChangeLogBuilder (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                          + + + + + +
                                                                                                                                                                          + + + + + +
                                                                                                                                                                          + +
                                                                                                                                                                          Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                          + +

                                                                                                                                                                          [Groovy] Class DatabaseChangeLogBuilder

                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                          +
                                                                                                                                                                            +
                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.DatabaseChangeLogBuilder +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                  +
                                                                                                                                                                                • + + + +
                                                                                                                                                                                  +
                                                                                                                                                                                  + +
                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                  +class DatabaseChangeLogBuilder
                                                                                                                                                                                  +extends groovy.util.BuilderSupport
                                                                                                                                                                                  + +
                                                                                                                                                                                • +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                +
                                                                                                                                                                                  +
                                                                                                                                                                                • + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                    +
                                                                                                                                                                                  • +

                                                                                                                                                                                    Constructor Summary

                                                                                                                                                                                    + +
                                                                                                                                                                                  • +
                                                                                                                                                                                  + + + + +
                                                                                                                                                                                    + +
                                                                                                                                                                                  • +

                                                                                                                                                                                    Methods Summary

                                                                                                                                                                                    +
                                                                                                                                                                                      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                      Methods 
                                                                                                                                                                                      Type ParamsReturn TypeName and description
                                                                                                                                                                                      protected java.lang.ObjectcreateNode(java.lang.Object name)
                                                                                                                                                                                      protected java.lang.ObjectcreateNode(java.lang.Object name, java.lang.Object value)
                                                                                                                                                                                      protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes)
                                                                                                                                                                                      protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)
                                                                                                                                                                                      java.lang.ObjectinvokeMethod(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                                      protected voidprocessGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                                      protected booleanprocessGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                                      protected voidsetParent(java.lang.Object parent, java.lang.Object child)
                                                                                                                                                                                      +
                                                                                                                                                                                    +
                                                                                                                                                                                  • + +
                                                                                                                                                                                  • +

                                                                                                                                                                                    Inherited Methods Summary

                                                                                                                                                                                    +
                                                                                                                                                                                      + + + + + + + + + + + +
                                                                                                                                                                                      Inherited Methods 
                                                                                                                                                                                      Methods inherited from className
                                                                                                                                                                                      class groovy.util.BuilderSupportgroovy.util.BuilderSupport#invokeMethod(java.lang.String), groovy.util.BuilderSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.util.BuilderSupport#getMetaClass(), groovy.util.BuilderSupport#setMetaClass(groovy.lang.MetaClass), groovy.util.BuilderSupport#wait(long), groovy.util.BuilderSupport#wait(long, int), groovy.util.BuilderSupport#wait(), groovy.util.BuilderSupport#equals(java.lang.Object), groovy.util.BuilderSupport#toString(), groovy.util.BuilderSupport#hashCode(), groovy.util.BuilderSupport#getClass(), groovy.util.BuilderSupport#notify(), groovy.util.BuilderSupport#notifyAll(), groovy.util.BuilderSupport#getProperty(java.lang.String), groovy.util.BuilderSupport#setProperty(java.lang.String, java.lang.Object)
                                                                                                                                                                                      +
                                                                                                                                                                                    +
                                                                                                                                                                                  • + +
                                                                                                                                                                                  + +
                                                                                                                                                                                • +
                                                                                                                                                                                +
                                                                                                                                                                                + +
                                                                                                                                                                                +
                                                                                                                                                                                  +
                                                                                                                                                                                • + + + + + + +
                                                                                                                                                                                    +
                                                                                                                                                                                  • + + +

                                                                                                                                                                                    Property Detail

                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                      +
                                                                                                                                                                                    • +

                                                                                                                                                                                      java.lang.String dataSourceName

                                                                                                                                                                                      +

                                                                                                                                                                                      +
                                                                                                                                                                                    • +
                                                                                                                                                                                    + +
                                                                                                                                                                                  • +
                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                    +
                                                                                                                                                                                  • + + +

                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                    + + +
                                                                                                                                                                                      +
                                                                                                                                                                                    • +

                                                                                                                                                                                      DatabaseChangeLogBuilder()

                                                                                                                                                                                      +

                                                                                                                                                                                      +
                                                                                                                                                                                    • +
                                                                                                                                                                                    + +
                                                                                                                                                                                  • +
                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                    +
                                                                                                                                                                                  • + + +

                                                                                                                                                                                    Method Detail

                                                                                                                                                                                    + + +
                                                                                                                                                                                      +
                                                                                                                                                                                    • +

                                                                                                                                                                                      @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name)

                                                                                                                                                                                      +

                                                                                                                                                                                      +
                                                                                                                                                                                    • +
                                                                                                                                                                                    + + +
                                                                                                                                                                                      +
                                                                                                                                                                                    • +

                                                                                                                                                                                      @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.lang.Object value)

                                                                                                                                                                                      +

                                                                                                                                                                                      +
                                                                                                                                                                                    • +
                                                                                                                                                                                    + + +
                                                                                                                                                                                      +
                                                                                                                                                                                    • +

                                                                                                                                                                                      @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes)

                                                                                                                                                                                      +

                                                                                                                                                                                      +
                                                                                                                                                                                    • +
                                                                                                                                                                                    + + +
                                                                                                                                                                                      +
                                                                                                                                                                                    • +

                                                                                                                                                                                      @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)

                                                                                                                                                                                      +

                                                                                                                                                                                      +
                                                                                                                                                                                    • +
                                                                                                                                                                                    + + +
                                                                                                                                                                                      +
                                                                                                                                                                                    • +

                                                                                                                                                                                      @java.lang.Override +java.lang.Object invokeMethod(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                                      +

                                                                                                                                                                                      +
                                                                                                                                                                                    • +
                                                                                                                                                                                    + + +
                                                                                                                                                                                      +
                                                                                                                                                                                    • +

                                                                                                                                                                                      protected void processGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                                      +

                                                                                                                                                                                      +
                                                                                                                                                                                    • +
                                                                                                                                                                                    + + +
                                                                                                                                                                                      +
                                                                                                                                                                                    • +

                                                                                                                                                                                      protected boolean processGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                                      +

                                                                                                                                                                                      +
                                                                                                                                                                                    • +
                                                                                                                                                                                    + + +
                                                                                                                                                                                      +
                                                                                                                                                                                    • +

                                                                                                                                                                                      @java.lang.Override +protected void setParent(java.lang.Object parent, java.lang.Object child)

                                                                                                                                                                                      +

                                                                                                                                                                                      +
                                                                                                                                                                                    • +
                                                                                                                                                                                    + +
                                                                                                                                                                                  • +
                                                                                                                                                                                  + +
                                                                                                                                                                                • +
                                                                                                                                                                                +
                                                                                                                                                                                + + + +
                                                                                                                                                                                + + + + + +
                                                                                                                                                                                + + +
                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#processGrailsPreconditionProperty(java.lang.String, java.lang.Object) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#processGrailsPreconditionProperty(java.lang.String, java.lang.Object) new file mode 100644 index 000000000000..81e8da47e05d --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#processGrailsPreconditionProperty(java.lang.String, java.lang.Object) @@ -0,0 +1,456 @@ + + + + + + + + + + + DatabaseChangeLogBuilder (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                + + + + + +
                                                                                                                                                                                + + + + + +
                                                                                                                                                                                + +
                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                + +

                                                                                                                                                                                [Groovy] Class DatabaseChangeLogBuilder

                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                +
                                                                                                                                                                                  +
                                                                                                                                                                                      • org.grails.plugins.databasemigration.liquibase.DatabaseChangeLogBuilder +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                        +
                                                                                                                                                                                      • + + + +
                                                                                                                                                                                        +
                                                                                                                                                                                        + +
                                                                                                                                                                                        @groovy.transform.CompileStatic
                                                                                                                                                                                        +class DatabaseChangeLogBuilder
                                                                                                                                                                                        +extends groovy.util.BuilderSupport
                                                                                                                                                                                        + +
                                                                                                                                                                                      • +
                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                        +
                                                                                                                                                                                      • + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                        • +

                                                                                                                                                                                          Constructor Summary

                                                                                                                                                                                          + +
                                                                                                                                                                                        • +
                                                                                                                                                                                        + + + + +
                                                                                                                                                                                          + +
                                                                                                                                                                                        • +

                                                                                                                                                                                          Methods Summary

                                                                                                                                                                                          +
                                                                                                                                                                                            + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                            Methods 
                                                                                                                                                                                            Type ParamsReturn TypeName and description
                                                                                                                                                                                            protected java.lang.ObjectcreateNode(java.lang.Object name)
                                                                                                                                                                                            protected java.lang.ObjectcreateNode(java.lang.Object name, java.lang.Object value)
                                                                                                                                                                                            protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes)
                                                                                                                                                                                            protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)
                                                                                                                                                                                            java.lang.ObjectinvokeMethod(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                                            protected voidprocessGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                                            protected booleanprocessGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                                            protected voidsetParent(java.lang.Object parent, java.lang.Object child)
                                                                                                                                                                                            +
                                                                                                                                                                                          +
                                                                                                                                                                                        • + +
                                                                                                                                                                                        • +

                                                                                                                                                                                          Inherited Methods Summary

                                                                                                                                                                                          +
                                                                                                                                                                                            + + + + + + + + + + + +
                                                                                                                                                                                            Inherited Methods 
                                                                                                                                                                                            Methods inherited from className
                                                                                                                                                                                            class groovy.util.BuilderSupportgroovy.util.BuilderSupport#invokeMethod(java.lang.String), groovy.util.BuilderSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.util.BuilderSupport#getMetaClass(), groovy.util.BuilderSupport#setMetaClass(groovy.lang.MetaClass), groovy.util.BuilderSupport#wait(long), groovy.util.BuilderSupport#wait(long, int), groovy.util.BuilderSupport#wait(), groovy.util.BuilderSupport#equals(java.lang.Object), groovy.util.BuilderSupport#toString(), groovy.util.BuilderSupport#hashCode(), groovy.util.BuilderSupport#getClass(), groovy.util.BuilderSupport#notify(), groovy.util.BuilderSupport#notifyAll(), groovy.util.BuilderSupport#getProperty(java.lang.String), groovy.util.BuilderSupport#setProperty(java.lang.String, java.lang.Object)
                                                                                                                                                                                            +
                                                                                                                                                                                          +
                                                                                                                                                                                        • + +
                                                                                                                                                                                        + +
                                                                                                                                                                                      • +
                                                                                                                                                                                      +
                                                                                                                                                                                      + +
                                                                                                                                                                                      +
                                                                                                                                                                                        +
                                                                                                                                                                                      • + + + + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                        • + + +

                                                                                                                                                                                          Property Detail

                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                            +
                                                                                                                                                                                          • +

                                                                                                                                                                                            java.lang.String dataSourceName

                                                                                                                                                                                            +

                                                                                                                                                                                            +
                                                                                                                                                                                          • +
                                                                                                                                                                                          + +
                                                                                                                                                                                        • +
                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                        • + + +

                                                                                                                                                                                          Constructor Detail

                                                                                                                                                                                          + + +
                                                                                                                                                                                            +
                                                                                                                                                                                          • +

                                                                                                                                                                                            DatabaseChangeLogBuilder()

                                                                                                                                                                                            +

                                                                                                                                                                                            +
                                                                                                                                                                                          • +
                                                                                                                                                                                          + +
                                                                                                                                                                                        • +
                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                          +
                                                                                                                                                                                        • + + +

                                                                                                                                                                                          Method Detail

                                                                                                                                                                                          + + +
                                                                                                                                                                                            +
                                                                                                                                                                                          • +

                                                                                                                                                                                            @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name)

                                                                                                                                                                                            +

                                                                                                                                                                                            +
                                                                                                                                                                                          • +
                                                                                                                                                                                          + + +
                                                                                                                                                                                            +
                                                                                                                                                                                          • +

                                                                                                                                                                                            @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.lang.Object value)

                                                                                                                                                                                            +

                                                                                                                                                                                            +
                                                                                                                                                                                          • +
                                                                                                                                                                                          + + +
                                                                                                                                                                                            +
                                                                                                                                                                                          • +

                                                                                                                                                                                            @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes)

                                                                                                                                                                                            +

                                                                                                                                                                                            +
                                                                                                                                                                                          • +
                                                                                                                                                                                          + + +
                                                                                                                                                                                            +
                                                                                                                                                                                          • +

                                                                                                                                                                                            @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)

                                                                                                                                                                                            +

                                                                                                                                                                                            +
                                                                                                                                                                                          • +
                                                                                                                                                                                          + + +
                                                                                                                                                                                            +
                                                                                                                                                                                          • +

                                                                                                                                                                                            @java.lang.Override +java.lang.Object invokeMethod(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                                            +

                                                                                                                                                                                            +
                                                                                                                                                                                          • +
                                                                                                                                                                                          + + +
                                                                                                                                                                                            +
                                                                                                                                                                                          • +

                                                                                                                                                                                            protected void processGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                                            +

                                                                                                                                                                                            +
                                                                                                                                                                                          • +
                                                                                                                                                                                          + + +
                                                                                                                                                                                            +
                                                                                                                                                                                          • +

                                                                                                                                                                                            protected boolean processGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                                            +

                                                                                                                                                                                            +
                                                                                                                                                                                          • +
                                                                                                                                                                                          + + +
                                                                                                                                                                                            +
                                                                                                                                                                                          • +

                                                                                                                                                                                            @java.lang.Override +protected void setParent(java.lang.Object parent, java.lang.Object child)

                                                                                                                                                                                            +

                                                                                                                                                                                            +
                                                                                                                                                                                          • +
                                                                                                                                                                                          + +
                                                                                                                                                                                        • +
                                                                                                                                                                                        + +
                                                                                                                                                                                      • +
                                                                                                                                                                                      +
                                                                                                                                                                                      + + + +
                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                      + + +
                                                                                                                                                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#setParent(java.lang.Object, java.lang.Object) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#setParent(java.lang.Object, java.lang.Object) new file mode 100644 index 000000000000..81e8da47e05d --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/DatabaseChangeLogBuilder.html#setParent(java.lang.Object, java.lang.Object) @@ -0,0 +1,456 @@ + + + + + + + + + + + DatabaseChangeLogBuilder (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                      + +
                                                                                                                                                                                      Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                      + +

                                                                                                                                                                                      [Groovy] Class DatabaseChangeLogBuilder

                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                      +
                                                                                                                                                                                        +
                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.DatabaseChangeLogBuilder +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                              +
                                                                                                                                                                                            • + + + +
                                                                                                                                                                                              +
                                                                                                                                                                                              + +
                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                              +class DatabaseChangeLogBuilder
                                                                                                                                                                                              +extends groovy.util.BuilderSupport
                                                                                                                                                                                              + +
                                                                                                                                                                                            • +
                                                                                                                                                                                            +
                                                                                                                                                                                            + +
                                                                                                                                                                                            +
                                                                                                                                                                                              +
                                                                                                                                                                                            • + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                +
                                                                                                                                                                                              • +

                                                                                                                                                                                                Constructor Summary

                                                                                                                                                                                                + +
                                                                                                                                                                                              • +
                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                + +
                                                                                                                                                                                              • +

                                                                                                                                                                                                Methods Summary

                                                                                                                                                                                                +
                                                                                                                                                                                                  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                  Methods 
                                                                                                                                                                                                  Type ParamsReturn TypeName and description
                                                                                                                                                                                                  protected java.lang.ObjectcreateNode(java.lang.Object name)
                                                                                                                                                                                                  protected java.lang.ObjectcreateNode(java.lang.Object name, java.lang.Object value)
                                                                                                                                                                                                  protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes)
                                                                                                                                                                                                  protected java.lang.ObjectcreateNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)
                                                                                                                                                                                                  java.lang.ObjectinvokeMethod(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                                                  protected voidprocessGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                                                  protected booleanprocessGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)
                                                                                                                                                                                                  protected voidsetParent(java.lang.Object parent, java.lang.Object child)
                                                                                                                                                                                                  +
                                                                                                                                                                                                +
                                                                                                                                                                                              • + +
                                                                                                                                                                                              • +

                                                                                                                                                                                                Inherited Methods Summary

                                                                                                                                                                                                +
                                                                                                                                                                                                  + + + + + + + + + + + +
                                                                                                                                                                                                  Inherited Methods 
                                                                                                                                                                                                  Methods inherited from className
                                                                                                                                                                                                  class groovy.util.BuilderSupportgroovy.util.BuilderSupport#invokeMethod(java.lang.String), groovy.util.BuilderSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.util.BuilderSupport#getMetaClass(), groovy.util.BuilderSupport#setMetaClass(groovy.lang.MetaClass), groovy.util.BuilderSupport#wait(long), groovy.util.BuilderSupport#wait(long, int), groovy.util.BuilderSupport#wait(), groovy.util.BuilderSupport#equals(java.lang.Object), groovy.util.BuilderSupport#toString(), groovy.util.BuilderSupport#hashCode(), groovy.util.BuilderSupport#getClass(), groovy.util.BuilderSupport#notify(), groovy.util.BuilderSupport#notifyAll(), groovy.util.BuilderSupport#getProperty(java.lang.String), groovy.util.BuilderSupport#setProperty(java.lang.String, java.lang.Object)
                                                                                                                                                                                                  +
                                                                                                                                                                                                +
                                                                                                                                                                                              • + +
                                                                                                                                                                                              + +
                                                                                                                                                                                            • +
                                                                                                                                                                                            +
                                                                                                                                                                                            + +
                                                                                                                                                                                            +
                                                                                                                                                                                              +
                                                                                                                                                                                            • + + + + + + +
                                                                                                                                                                                                +
                                                                                                                                                                                              • + + +

                                                                                                                                                                                                Property Detail

                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • +

                                                                                                                                                                                                  java.lang.String dataSourceName

                                                                                                                                                                                                  +

                                                                                                                                                                                                  +
                                                                                                                                                                                                • +
                                                                                                                                                                                                + +
                                                                                                                                                                                              • +
                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                +
                                                                                                                                                                                              • + + +

                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • +

                                                                                                                                                                                                  DatabaseChangeLogBuilder()

                                                                                                                                                                                                  +

                                                                                                                                                                                                  +
                                                                                                                                                                                                • +
                                                                                                                                                                                                + +
                                                                                                                                                                                              • +
                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                +
                                                                                                                                                                                              • + + +

                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • +

                                                                                                                                                                                                  @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name)

                                                                                                                                                                                                  +

                                                                                                                                                                                                  +
                                                                                                                                                                                                • +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • +

                                                                                                                                                                                                  @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.lang.Object value)

                                                                                                                                                                                                  +

                                                                                                                                                                                                  +
                                                                                                                                                                                                • +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • +

                                                                                                                                                                                                  @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes)

                                                                                                                                                                                                  +

                                                                                                                                                                                                  +
                                                                                                                                                                                                • +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • +

                                                                                                                                                                                                  @java.lang.Override +protected java.lang.Object createNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)

                                                                                                                                                                                                  +

                                                                                                                                                                                                  +
                                                                                                                                                                                                • +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • +

                                                                                                                                                                                                  @java.lang.Override +java.lang.Object invokeMethod(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                                                  +

                                                                                                                                                                                                  +
                                                                                                                                                                                                • +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • +

                                                                                                                                                                                                  protected void processGrailsChangeProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                                                  +

                                                                                                                                                                                                  +
                                                                                                                                                                                                • +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • +

                                                                                                                                                                                                  protected boolean processGrailsPreconditionProperty(java.lang.String methodName, java.lang.Object args)

                                                                                                                                                                                                  +

                                                                                                                                                                                                  +
                                                                                                                                                                                                • +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • +

                                                                                                                                                                                                  @java.lang.Override +protected void setParent(java.lang.Object parent, java.lang.Object child)

                                                                                                                                                                                                  +

                                                                                                                                                                                                  +
                                                                                                                                                                                                • +
                                                                                                                                                                                                + +
                                                                                                                                                                                              • +
                                                                                                                                                                                              + +
                                                                                                                                                                                            • +
                                                                                                                                                                                            +
                                                                                                                                                                                            + + + +
                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                            + + +
                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.1.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.1.html new file mode 100644 index 000000000000..1ad2d3908e30 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.1.html @@ -0,0 +1,281 @@ + + + + + + + + + + + GormDatabase.1 (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                            + +
                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                            + +

                                                                                                                                                                                            [Groovy] Class GormDatabase.1

                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                            +
                                                                                                                                                                                              +
                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GormDatabase.1 +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                  • +

                                                                                                                                                                                                    Constructor Summary

                                                                                                                                                                                                    +
                                                                                                                                                                                                      + + + + + + + + + + +
                                                                                                                                                                                                      Constructors 
                                                                                                                                                                                                      Constructor and description
                                                                                                                                                                                                      + GormDatabase.1 + ()
                                                                                                                                                                                                      +
                                                                                                                                                                                                    +
                                                                                                                                                                                                  • +
                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                • +
                                                                                                                                                                                                +
                                                                                                                                                                                                + +
                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                • + + + + + + + + + + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                                    + + +
                                                                                                                                                                                                      +
                                                                                                                                                                                                    • +

                                                                                                                                                                                                      GormDatabase.1()

                                                                                                                                                                                                      +

                                                                                                                                                                                                      +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                  • +
                                                                                                                                                                                                  + + + + + + + +
                                                                                                                                                                                                • +
                                                                                                                                                                                                +
                                                                                                                                                                                                + + + +
                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                + + +
                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.1.html#GormDatabase.1() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.1.html#GormDatabase.1() new file mode 100644 index 000000000000..1ad2d3908e30 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.1.html#GormDatabase.1() @@ -0,0 +1,281 @@ + + + + + + + + + + + GormDatabase.1 (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                + +
                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                + +

                                                                                                                                                                                                [Groovy] Class GormDatabase.1

                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                +
                                                                                                                                                                                                  +
                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GormDatabase.1 +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                      +
                                                                                                                                                                                                    • + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                      • +

                                                                                                                                                                                                        Constructor Summary

                                                                                                                                                                                                        +
                                                                                                                                                                                                          + + + + + + + + + + +
                                                                                                                                                                                                          Constructors 
                                                                                                                                                                                                          Constructor and description
                                                                                                                                                                                                          + GormDatabase.1 + ()
                                                                                                                                                                                                          +
                                                                                                                                                                                                        +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    +
                                                                                                                                                                                                      +
                                                                                                                                                                                                    • + + + + + + + + + + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                        Constructor Detail

                                                                                                                                                                                                        + + +
                                                                                                                                                                                                          +
                                                                                                                                                                                                        • +

                                                                                                                                                                                                          GormDatabase.1()

                                                                                                                                                                                                          +

                                                                                                                                                                                                          +
                                                                                                                                                                                                        • +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                      • +
                                                                                                                                                                                                      + + + + + + + +
                                                                                                                                                                                                    • +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                    + + +
                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.1.html#getSnapshot(liquibase.structure.DatabaseObject) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.1.html#getSnapshot(liquibase.structure.DatabaseObject) new file mode 100644 index 000000000000..1ad2d3908e30 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.1.html#getSnapshot(liquibase.structure.DatabaseObject) @@ -0,0 +1,281 @@ + + + + + + + + + + + GormDatabase.1 (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                    + +
                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                    + +

                                                                                                                                                                                                    [Groovy] Class GormDatabase.1

                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                    +
                                                                                                                                                                                                      +
                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GormDatabase.1 +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                          +
                                                                                                                                                                                                        • + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                          • +

                                                                                                                                                                                                            Constructor Summary

                                                                                                                                                                                                            +
                                                                                                                                                                                                              + + + + + + + + + + +
                                                                                                                                                                                                              Constructors 
                                                                                                                                                                                                              Constructor and description
                                                                                                                                                                                                              + GormDatabase.1 + ()
                                                                                                                                                                                                              +
                                                                                                                                                                                                            +
                                                                                                                                                                                                          • +
                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                        • +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        +
                                                                                                                                                                                                          +
                                                                                                                                                                                                        • + + + + + + + + + + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                            Constructor Detail

                                                                                                                                                                                                            + + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                            • +

                                                                                                                                                                                                              GormDatabase.1()

                                                                                                                                                                                                              +

                                                                                                                                                                                                              +
                                                                                                                                                                                                            • +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                          • +
                                                                                                                                                                                                          + + + + + + + +
                                                                                                                                                                                                        • +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                        + + +
                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html new file mode 100644 index 000000000000..51d9ec22706f --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html @@ -0,0 +1,430 @@ + + + + + + + + + + + GormDatabase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                        + +
                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                        + +

                                                                                                                                                                                                        [Groovy] Class GormDatabase

                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                        +
                                                                                                                                                                                                          +
                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GormDatabase +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                              +
                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                              +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                              +class GormDatabase
                                                                                                                                                                                                              +extends HibernateDatabase
                                                                                                                                                                                                              + +
                                                                                                                                                                                                            • +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            +
                                                                                                                                                                                                              +
                                                                                                                                                                                                            • + + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                Property Detail

                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • +

                                                                                                                                                                                                                  final java.lang.String DefaultDatabaseProductName

                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • +
                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • +

                                                                                                                                                                                                                  final java.lang.String shortName

                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                              • +
                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • +

                                                                                                                                                                                                                  GormDatabase()

                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • +
                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                              • +
                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • +

                                                                                                                                                                                                                  @java.lang.Override +protected void configureSources(MetadataSources sources)

                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • +

                                                                                                                                                                                                                  @java.lang.Override +Dialect getDialect()

                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • +

                                                                                                                                                                                                                  @java.lang.Override +Metadata getMetadata()

                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  Return the hibernate Metadata used by this database.

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • +

                                                                                                                                                                                                                  @java.lang.Override +boolean isCorrectDatabaseImplementation(DatabaseConnection conn)

                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                              • +
                                                                                                                                                                                                              + +
                                                                                                                                                                                                            • +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                            + + +
                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#DefaultDatabaseProductName b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#DefaultDatabaseProductName new file mode 100644 index 000000000000..51d9ec22706f --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#DefaultDatabaseProductName @@ -0,0 +1,430 @@ + + + + + + + + + + + GormDatabase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                            + +
                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                            + +

                                                                                                                                                                                                            [Groovy] Class GormDatabase

                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                            +
                                                                                                                                                                                                              +
                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GormDatabase +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                                                  +class GormDatabase
                                                                                                                                                                                                                  +extends HibernateDatabase
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                • +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                • + + + + + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                    Property Detail

                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                      final java.lang.String DefaultDatabaseProductName

                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                      final java.lang.String shortName

                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                      GormDatabase()

                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                      @java.lang.Override +protected void configureSources(MetadataSources sources)

                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                      @java.lang.Override +Dialect getDialect()

                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                      @java.lang.Override +Metadata getMetadata()

                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      Return the hibernate Metadata used by this database.

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                      @java.lang.Override +boolean isCorrectDatabaseImplementation(DatabaseConnection conn)

                                                                                                                                                                                                                      +

                                                                                                                                                                                                                      +
                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                • +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#GormDatabase(org.hibernate.dialect.Dialect, org.hibernate.service.ServiceRegistry) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#GormDatabase(org.hibernate.dialect.Dialect, org.hibernate.service.ServiceRegistry) new file mode 100644 index 000000000000..51d9ec22706f --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#GormDatabase(org.hibernate.dialect.Dialect, org.hibernate.service.ServiceRegistry) @@ -0,0 +1,430 @@ + + + + + + + + + + + GormDatabase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                + +
                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                + +

                                                                                                                                                                                                                [Groovy] Class GormDatabase

                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                +
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GormDatabase +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                    • + + + +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                                                                      +class GormDatabase
                                                                                                                                                                                                                      +extends HibernateDatabase
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                    • + + + + + + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                        Property Detail

                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                          final java.lang.String DefaultDatabaseProductName

                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                          final java.lang.String shortName

                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                        Constructor Detail

                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                          GormDatabase()

                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                          @java.lang.Override +protected void configureSources(MetadataSources sources)

                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                          @java.lang.Override +Dialect getDialect()

                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                          @java.lang.Override +Metadata getMetadata()

                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          Return the hibernate Metadata used by this database.

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                          @java.lang.Override +boolean isCorrectDatabaseImplementation(DatabaseConnection conn)

                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          +
                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#configureSources(org.hibernate.boot.MetadataSources) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#configureSources(org.hibernate.boot.MetadataSources) new file mode 100644 index 000000000000..51d9ec22706f --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#configureSources(org.hibernate.boot.MetadataSources) @@ -0,0 +1,430 @@ + + + + + + + + + + + GormDatabase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                    [Groovy] Class GormDatabase

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                      +
                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GormDatabase +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                        • + + + +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                                                                                          +class GormDatabase
                                                                                                                                                                                                                          +extends HibernateDatabase
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                        • + + + + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                            Property Detail

                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                              final java.lang.String DefaultDatabaseProductName

                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                              final java.lang.String shortName

                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                            Constructor Detail

                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                              GormDatabase()

                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                              @java.lang.Override +protected void configureSources(MetadataSources sources)

                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                              @java.lang.Override +Dialect getDialect()

                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                              @java.lang.Override +Metadata getMetadata()

                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              Return the hibernate Metadata used by this database.

                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                              @java.lang.Override +boolean isCorrectDatabaseImplementation(DatabaseConnection conn)

                                                                                                                                                                                                                              +

                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#connection b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#connection new file mode 100644 index 000000000000..51d9ec22706f --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#connection @@ -0,0 +1,430 @@ + + + + + + + + + + + GormDatabase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                        [Groovy] Class GormDatabase

                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                        +
                                                                                                                                                                                                                          +
                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GormDatabase +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                              +class GormDatabase
                                                                                                                                                                                                                              +extends HibernateDatabase
                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                            • + + + + + + +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                Property Detail

                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                  final java.lang.String DefaultDatabaseProductName

                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                  final java.lang.String shortName

                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                  GormDatabase()

                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                  @java.lang.Override +protected void configureSources(MetadataSources sources)

                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                  @java.lang.Override +Dialect getDialect()

                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                  @java.lang.Override +Metadata getMetadata()

                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                  Return the hibernate Metadata used by this database.

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                  @java.lang.Override +boolean isCorrectDatabaseImplementation(DatabaseConnection conn)

                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#getDialect() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#getDialect() new file mode 100644 index 000000000000..51d9ec22706f --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#getDialect() @@ -0,0 +1,430 @@ + + + + + + + + + + + GormDatabase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                            [Groovy] Class GormDatabase

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GormDatabase +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                                                                  +class GormDatabase
                                                                                                                                                                                                                                  +extends HibernateDatabase
                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                • + + + + + + +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                    Property Detail

                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                      final java.lang.String DefaultDatabaseProductName

                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                      final java.lang.String shortName

                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                      GormDatabase()

                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                      @java.lang.Override +protected void configureSources(MetadataSources sources)

                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                      @java.lang.Override +Dialect getDialect()

                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                      @java.lang.Override +Metadata getMetadata()

                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      Return the hibernate Metadata used by this database.

                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                      @java.lang.Override +boolean isCorrectDatabaseImplementation(DatabaseConnection conn)

                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#getMetadata() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#getMetadata() new file mode 100644 index 000000000000..51d9ec22706f --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#getMetadata() @@ -0,0 +1,430 @@ + + + + + + + + + + + GormDatabase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                [Groovy] Class GormDatabase

                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GormDatabase +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • + + + +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                                                                                      +class GormDatabase
                                                                                                                                                                                                                                      +extends HibernateDatabase
                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                    • + + + + + + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                        Property Detail

                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                          final java.lang.String DefaultDatabaseProductName

                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                          final java.lang.String shortName

                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                        Constructor Detail

                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                          GormDatabase()

                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                          @java.lang.Override +protected void configureSources(MetadataSources sources)

                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                          @java.lang.Override +Dialect getDialect()

                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                          @java.lang.Override +Metadata getMetadata()

                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          Return the hibernate Metadata used by this database.

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                          @java.lang.Override +boolean isCorrectDatabaseImplementation(DatabaseConnection conn)

                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#isCorrectDatabaseImplementation(liquibase.database.DatabaseConnection) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#isCorrectDatabaseImplementation(liquibase.database.DatabaseConnection) new file mode 100644 index 000000000000..51d9ec22706f --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#isCorrectDatabaseImplementation(liquibase.database.DatabaseConnection) @@ -0,0 +1,430 @@ + + + + + + + + + + + GormDatabase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                    [Groovy] Class GormDatabase

                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GormDatabase +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        • + + + +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                                                                                                          +class GormDatabase
                                                                                                                                                                                                                                          +extends HibernateDatabase
                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                        • + + + + + + +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                            Property Detail

                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                              final java.lang.String DefaultDatabaseProductName

                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                              final java.lang.String shortName

                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                            Constructor Detail

                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                              GormDatabase()

                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                              @java.lang.Override +protected void configureSources(MetadataSources sources)

                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                              @java.lang.Override +Dialect getDialect()

                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                              @java.lang.Override +Metadata getMetadata()

                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                              Return the hibernate Metadata used by this database.

                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                              @java.lang.Override +boolean isCorrectDatabaseImplementation(DatabaseConnection conn)

                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#shortName b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#shortName new file mode 100644 index 000000000000..51d9ec22706f --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GormDatabase.html#shortName @@ -0,0 +1,430 @@ + + + + + + + + + + + GormDatabase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                        [Groovy] Class GormDatabase

                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GormDatabase +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                                              +class GormDatabase
                                                                                                                                                                                                                                              +extends HibernateDatabase
                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                            • + + + + + + +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                Property Detail

                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                  final java.lang.String DefaultDatabaseProductName

                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                  final java.lang.String shortName

                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                  GormDatabase()

                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                  @java.lang.Override +protected void configureSources(MetadataSources sources)

                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                  @java.lang.Override +Dialect getDialect()

                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                  @java.lang.Override +Metadata getMetadata()

                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                  Return the hibernate Metadata used by this database.

                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                  @java.lang.Override +boolean isCorrectDatabaseImplementation(DatabaseConnection conn)

                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html new file mode 100644 index 000000000000..76606f477192 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html @@ -0,0 +1,378 @@ + + + + + + + + + + + GrailsLiquibase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                            [Groovy] Class GrailsLiquibase

                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GrailsLiquibase +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                  +class GrailsLiquibase
                                                                                                                                                                                                                                                  +extends SpringLiquibase
                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                • + + + + + + +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                    Property Detail

                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                      java.lang.String dataSourceName

                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                      java.lang.String databaseChangeLogLockTableName

                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                      java.lang.String databaseChangeLogTableName

                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                  + + + + + + + + + + + + +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                      @java.lang.Override +protected Database createDatabase(java.sql.Connection connection, ResourceAccessor accessor)

                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                      @java.lang.Override +protected Liquibase createLiquibase(java.sql.Connection connection)

                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                      @java.lang.Override +protected void performUpdate(Liquibase liquibase)

                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#GrailsLiquibase(org.springframework.context.ApplicationContext) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#GrailsLiquibase(org.springframework.context.ApplicationContext) new file mode 100644 index 000000000000..76606f477192 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#GrailsLiquibase(org.springframework.context.ApplicationContext) @@ -0,0 +1,378 @@ + + + + + + + + + + + GrailsLiquibase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                [Groovy] Class GrailsLiquibase

                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GrailsLiquibase +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                    • + + + +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                      +class GrailsLiquibase
                                                                                                                                                                                                                                                      +extends SpringLiquibase
                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                    • + + + + + + +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                        Property Detail

                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                          java.lang.String dataSourceName

                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                          java.lang.String databaseChangeLogLockTableName

                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                          java.lang.String databaseChangeLogTableName

                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                      + + + + + + + + + + + + +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                          @java.lang.Override +protected Database createDatabase(java.sql.Connection connection, ResourceAccessor accessor)

                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                          @java.lang.Override +protected Liquibase createLiquibase(java.sql.Connection connection)

                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                          @java.lang.Override +protected void performUpdate(Liquibase liquibase)

                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#createDatabase(java.sql.Connection, liquibase.resource.ResourceAccessor) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#createDatabase(java.sql.Connection, liquibase.resource.ResourceAccessor) new file mode 100644 index 000000000000..76606f477192 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#createDatabase(java.sql.Connection, liquibase.resource.ResourceAccessor) @@ -0,0 +1,378 @@ + + + + + + + + + + + GrailsLiquibase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                    [Groovy] Class GrailsLiquibase

                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GrailsLiquibase +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                        • + + + +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                          +class GrailsLiquibase
                                                                                                                                                                                                                                                          +extends SpringLiquibase
                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                        • + + + + + + +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                            Property Detail

                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                              java.lang.String dataSourceName

                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                              java.lang.String databaseChangeLogLockTableName

                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                              java.lang.String databaseChangeLogTableName

                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                          + + + + + + + + + + + + +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                              @java.lang.Override +protected Database createDatabase(java.sql.Connection connection, ResourceAccessor accessor)

                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                              @java.lang.Override +protected Liquibase createLiquibase(java.sql.Connection connection)

                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                              @java.lang.Override +protected void performUpdate(Liquibase liquibase)

                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#createLiquibase(java.sql.Connection) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#createLiquibase(java.sql.Connection) new file mode 100644 index 000000000000..76606f477192 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#createLiquibase(java.sql.Connection) @@ -0,0 +1,378 @@ + + + + + + + + + + + GrailsLiquibase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                        [Groovy] Class GrailsLiquibase

                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GrailsLiquibase +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                              +class GrailsLiquibase
                                                                                                                                                                                                                                                              +extends SpringLiquibase
                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                            • + + + + + + +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                Property Detail

                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                  java.lang.String dataSourceName

                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                  java.lang.String databaseChangeLogLockTableName

                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                  java.lang.String databaseChangeLogTableName

                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                              + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                  @java.lang.Override +protected Database createDatabase(java.sql.Connection connection, ResourceAccessor accessor)

                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                  @java.lang.Override +protected Liquibase createLiquibase(java.sql.Connection connection)

                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                  @java.lang.Override +protected void performUpdate(Liquibase liquibase)

                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#dataSourceName b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#dataSourceName new file mode 100644 index 000000000000..76606f477192 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#dataSourceName @@ -0,0 +1,378 @@ + + + + + + + + + + + GrailsLiquibase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                            [Groovy] Class GrailsLiquibase

                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GrailsLiquibase +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                  +class GrailsLiquibase
                                                                                                                                                                                                                                                                  +extends SpringLiquibase
                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                • + + + + + + +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                    Property Detail

                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                      java.lang.String dataSourceName

                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                      java.lang.String databaseChangeLogLockTableName

                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                      java.lang.String databaseChangeLogTableName

                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                  + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                      @java.lang.Override +protected Database createDatabase(java.sql.Connection connection, ResourceAccessor accessor)

                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                      @java.lang.Override +protected Liquibase createLiquibase(java.sql.Connection connection)

                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                      @java.lang.Override +protected void performUpdate(Liquibase liquibase)

                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#databaseChangeLogLockTableName b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#databaseChangeLogLockTableName new file mode 100644 index 000000000000..76606f477192 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#databaseChangeLogLockTableName @@ -0,0 +1,378 @@ + + + + + + + + + + + GrailsLiquibase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                [Groovy] Class GrailsLiquibase

                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GrailsLiquibase +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                    • + + + +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                      +class GrailsLiquibase
                                                                                                                                                                                                                                                                      +extends SpringLiquibase
                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                    • + + + + + + +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                        Property Detail

                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                          java.lang.String dataSourceName

                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                          java.lang.String databaseChangeLogLockTableName

                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                          java.lang.String databaseChangeLogTableName

                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                      + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                          @java.lang.Override +protected Database createDatabase(java.sql.Connection connection, ResourceAccessor accessor)

                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                          @java.lang.Override +protected Liquibase createLiquibase(java.sql.Connection connection)

                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                          @java.lang.Override +protected void performUpdate(Liquibase liquibase)

                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#databaseChangeLogTableName b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#databaseChangeLogTableName new file mode 100644 index 000000000000..76606f477192 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#databaseChangeLogTableName @@ -0,0 +1,378 @@ + + + + + + + + + + + GrailsLiquibase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                    [Groovy] Class GrailsLiquibase

                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GrailsLiquibase +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                        • + + + +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                          +class GrailsLiquibase
                                                                                                                                                                                                                                                                          +extends SpringLiquibase
                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                        • + + + + + + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                            Property Detail

                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                              java.lang.String dataSourceName

                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                              java.lang.String databaseChangeLogLockTableName

                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                              java.lang.String databaseChangeLogTableName

                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                          + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                              @java.lang.Override +protected Database createDatabase(java.sql.Connection connection, ResourceAccessor accessor)

                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                              @java.lang.Override +protected Liquibase createLiquibase(java.sql.Connection connection)

                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                              @java.lang.Override +protected void performUpdate(Liquibase liquibase)

                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#performUpdate(liquibase.Liquibase) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#performUpdate(liquibase.Liquibase) new file mode 100644 index 000000000000..76606f477192 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GrailsLiquibase.html#performUpdate(liquibase.Liquibase) @@ -0,0 +1,378 @@ + + + + + + + + + + + GrailsLiquibase (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                        [Groovy] Class GrailsLiquibase

                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GrailsLiquibase +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                              +class GrailsLiquibase
                                                                                                                                                                                                                                                                              +extends SpringLiquibase
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                            • + + + + + + +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                Property Detail

                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                  java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                  java.lang.String databaseChangeLogLockTableName

                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                  java.lang.String databaseChangeLogTableName

                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                  @java.lang.Override +protected Database createDatabase(java.sql.Connection connection, ResourceAccessor accessor)

                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                  @java.lang.Override +protected Liquibase createLiquibase(java.sql.Connection connection)

                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                  @java.lang.Override +protected void performUpdate(Liquibase liquibase)

                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.1.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.1.html new file mode 100644 index 000000000000..a42ad16b0a24 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.1.html @@ -0,0 +1,281 @@ + + + + + + + + + + + GroovyChange.1 (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                            [Groovy] Class GroovyChange.1

                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GroovyChange.1 +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                  class GroovyChange.1
                                                                                                                                                                                                                                                                                  +extends Sql
                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                    Constructor Summary

                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                      + + + + + + + + + + +
                                                                                                                                                                                                                                                                                      Constructors 
                                                                                                                                                                                                                                                                                      Constructor and description
                                                                                                                                                                                                                                                                                      + GroovyChange.1 + ()
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                    Methods Summary

                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                      + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                      Methods 
                                                                                                                                                                                                                                                                                      Type ParamsReturn TypeName and description
                                                                                                                                                                                                                                                                                      protected voidcloseResources(java.sql.Connection c)
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                  • + +
                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                • + + + + + + + + + + +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                      GroovyChange.1()

                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                      protected void closeResources(java.sql.Connection c)

                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.1.html#GroovyChange.1() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.1.html#GroovyChange.1() new file mode 100644 index 000000000000..a42ad16b0a24 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.1.html#GroovyChange.1() @@ -0,0 +1,281 @@ + + + + + + + + + + + GroovyChange.1 (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                [Groovy] Class GroovyChange.1

                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GroovyChange.1 +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                    • + + + +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                      class GroovyChange.1
                                                                                                                                                                                                                                                                                      +extends Sql
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                    • + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                        Constructor Summary

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          + + + + + + + + + + +
                                                                                                                                                                                                                                                                                          Constructors 
                                                                                                                                                                                                                                                                                          Constructor and description
                                                                                                                                                                                                                                                                                          + GroovyChange.1 + ()
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                        Methods Summary

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                          Methods 
                                                                                                                                                                                                                                                                                          Type ParamsReturn TypeName and description
                                                                                                                                                                                                                                                                                          protected voidcloseResources(java.sql.Connection c)
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • + +
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                    • + + + + + + + + + + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                        Constructor Detail

                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                          GroovyChange.1()

                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                          protected void closeResources(java.sql.Connection c)

                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.1.html#closeResources(java.sql.Connection) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.1.html#closeResources(java.sql.Connection) new file mode 100644 index 000000000000..a42ad16b0a24 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.1.html#closeResources(java.sql.Connection) @@ -0,0 +1,281 @@ + + + + + + + + + + + GroovyChange.1 (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                    [Groovy] Class GroovyChange.1

                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GroovyChange.1 +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • + + + +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                          class GroovyChange.1
                                                                                                                                                                                                                                                                                          +extends Sql
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                            Constructor Summary

                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                              + + + + + + + + + + +
                                                                                                                                                                                                                                                                                              Constructors 
                                                                                                                                                                                                                                                                                              Constructor and description
                                                                                                                                                                                                                                                                                              + GroovyChange.1 + ()
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                            Methods Summary

                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                              + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                              Methods 
                                                                                                                                                                                                                                                                                              Type ParamsReturn TypeName and description
                                                                                                                                                                                                                                                                                              protected voidcloseResources(java.sql.Connection c)
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                          • + +
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                        • + + + + + + + + + + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                            Constructor Detail

                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                              GroovyChange.1()

                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                              protected void closeResources(java.sql.Connection c)

                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                        [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                              +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                              +class GroovyChange
                                                                                                                                                                                                                                                                                              +extends AbstractChange
                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                              Custom Groovy-based change.

                                                                                                                                                                                                                                                                                              Authors:
                                                                                                                                                                                                                                                                                              Burt Beckwith
                                                                                                                                                                                                                                                                                              Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                            • + + + + + + +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                Property Detail

                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  java.util.List allStatements

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  java.lang.String checksumString

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  boolean initClosureCalled

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  Sql sql

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  GroovyChange()

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                  message - the confirmation message

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                  message - the error message

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                  the application

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  Config getConfig()

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                  the config

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  Sql getSql()

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                  the sql instance

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                  Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                  warning - the warning message

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                  protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                  Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                  callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                  The result of the closure execution

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#GroovyChange() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#GroovyChange() new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#GroovyChange() @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                            [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                  +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                  +class GroovyChange
                                                                                                                                                                                                                                                                                                  +extends AbstractChange
                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                  Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                  Authors:
                                                                                                                                                                                                                                                                                                  Burt Beckwith
                                                                                                                                                                                                                                                                                                  Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                • + + + + + + +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                    Property Detail

                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      java.util.List allStatements

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      java.lang.String checksumString

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      boolean initClosureCalled

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      Sql sql

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + + + + + + +
                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      GroovyChange()

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                      message - the confirmation message

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                      message - the error message

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                      the application

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      Config getConfig()

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                      the config

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      Sql getSql()

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                      the sql instance

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                      Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                      warning - the warning message

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                      protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                      Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                      callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                      The result of the closure execution

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#allStatements b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#allStatements new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#allStatements @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • + + + +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                      +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                      +class GroovyChange
                                                                                                                                                                                                                                                                                                      +extends AbstractChange
                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                      Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                      Authors:
                                                                                                                                                                                                                                                                                                      Burt Beckwith
                                                                                                                                                                                                                                                                                                      Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                    • + + + + + + +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                        Property Detail

                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          java.util.List allStatements

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          java.lang.String checksumString

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          boolean initClosureCalled

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          Sql sql

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + + + + + + +
                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                        Constructor Detail

                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          GroovyChange()

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                          message - the confirmation message

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                          message - the error message

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                          the application

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          Config getConfig()

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                          the config

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          Sql getSql()

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                          the sql instance

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                          Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                          warning - the warning message

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                          protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                          Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                          callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                          The result of the closure execution

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#changeClosure b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#changeClosure new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#changeClosure @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                    [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • + + + +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                          +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                          +class GroovyChange
                                                                                                                                                                                                                                                                                                          +extends AbstractChange
                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                          Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                          Authors:
                                                                                                                                                                                                                                                                                                          Burt Beckwith
                                                                                                                                                                                                                                                                                                          Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                        • + + + + + + +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                            Property Detail

                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              java.util.List allStatements

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              java.lang.String checksumString

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              boolean initClosureCalled

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              Sql sql

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + + + + + + +
                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                            Constructor Detail

                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              GroovyChange()

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                              message - the confirmation message

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                              message - the error message

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                              the application

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              Config getConfig()

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                              the config

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              Sql getSql()

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                              the sql instance

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                              Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                              warning - the warning message

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                              protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                              Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                              callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                              The result of the closure execution

                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#changeClosureCalled b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#changeClosureCalled new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#changeClosureCalled @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                        [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                              +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                              +class GroovyChange
                                                                                                                                                                                                                                                                                                              +extends AbstractChange
                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                              Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                              Authors:
                                                                                                                                                                                                                                                                                                              Burt Beckwith
                                                                                                                                                                                                                                                                                                              Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                            • + + + + + + +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                Property Detail

                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  java.util.List allStatements

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  Sql sql

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  GroovyChange()

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                  message - the confirmation message

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                  message - the error message

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                  the application

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  Config getConfig()

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                  the config

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  Sql getSql()

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                  the sql instance

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                  Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                  warning - the warning message

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                  protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                  Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                  callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                  The result of the closure execution

                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#checksumString b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#checksumString new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#checksumString @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                            [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                  +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                  +class GroovyChange
                                                                                                                                                                                                                                                                                                                  +extends AbstractChange
                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                  Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                  Authors:
                                                                                                                                                                                                                                                                                                                  Burt Beckwith
                                                                                                                                                                                                                                                                                                                  Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                • + + + + + + +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                    Property Detail

                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      java.util.List allStatements

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      Sql sql

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + + + + + + +
                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      GroovyChange()

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                      message - the confirmation message

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                      message - the error message

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                      the application

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      Config getConfig()

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                      the config

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      Sql getSql()

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                      the sql instance

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                      Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                      warning - the warning message

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                      protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                      Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                      callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                      The result of the closure execution

                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#confirm(java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#confirm(java.lang.String) new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#confirm(java.lang.String) @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • + + + +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                      +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                      +class GroovyChange
                                                                                                                                                                                                                                                                                                                      +extends AbstractChange
                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                      Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                      Authors:
                                                                                                                                                                                                                                                                                                                      Burt Beckwith
                                                                                                                                                                                                                                                                                                                      Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                    • + + + + + + +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                        Property Detail

                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          java.util.List allStatements

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          Sql sql

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + + + + + + +
                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                        Constructor Detail

                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          GroovyChange()

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                          message - the confirmation message

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                          message - the error message

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                          the application

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          Config getConfig()

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                          the config

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          Sql getSql()

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                          the sql instance

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                          Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                          warning - the warning message

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                          protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                          Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                          callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                          The result of the closure execution

                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#confirmationMessage b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#confirmationMessage new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#confirmationMessage @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                    [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • + + + +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                          +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                          +class GroovyChange
                                                                                                                                                                                                                                                                                                                          +extends AbstractChange
                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                          Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                          Authors:
                                                                                                                                                                                                                                                                                                                          Burt Beckwith
                                                                                                                                                                                                                                                                                                                          Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                        • + + + + + + +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                            Property Detail

                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              java.util.List allStatements

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              Sql sql

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + + + + + + +
                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                            Constructor Detail

                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              GroovyChange()

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                              message - the confirmation message

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                              message - the error message

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                              the application

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              Config getConfig()

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                              the config

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              Sql getSql()

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                              the sql instance

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                              Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                              warning - the warning message

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                              protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                              Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                              callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                              The result of the closure execution

                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#ctx b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#ctx new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#ctx @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                        [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                              +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                              +class GroovyChange
                                                                                                                                                                                                                                                                                                                              +extends AbstractChange
                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                              Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                              Authors:
                                                                                                                                                                                                                                                                                                                              Burt Beckwith
                                                                                                                                                                                                                                                                                                                              Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                            • + + + + + + +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                Property Detail

                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  Sql sql

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  GroovyChange()

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                  message - the confirmation message

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                  message - the error message

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                  the application

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  Config getConfig()

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                  the config

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  Sql getSql()

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                  the sql instance

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                  Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                  warning - the warning message

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                  protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                  Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                  callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                  The result of the closure execution

                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#dataSourceName b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#dataSourceName new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#dataSourceName @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                            [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                  +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                  +class GroovyChange
                                                                                                                                                                                                                                                                                                                                  +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                  Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                  Authors:
                                                                                                                                                                                                                                                                                                                                  Burt Beckwith
                                                                                                                                                                                                                                                                                                                                  Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                • + + + + + + +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                    Property Detail

                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      Sql sql

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + + + + + + +
                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      GroovyChange()

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                      message - the confirmation message

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                      message - the error message

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                      the application

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      Config getConfig()

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                      the config

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      Sql getSql()

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                      the sql instance

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                      Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                      warning - the warning message

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                      protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                      Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                      callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                      The result of the closure execution

                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#database b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#database new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#database @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • + + + +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                      +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                      +class GroovyChange
                                                                                                                                                                                                                                                                                                                                      +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                      Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                      Authors:
                                                                                                                                                                                                                                                                                                                                      Burt Beckwith
                                                                                                                                                                                                                                                                                                                                      Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                    • + + + + + + +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                        Property Detail

                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          Sql sql

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + + + + + + +
                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                        Constructor Detail

                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          GroovyChange()

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                          message - the confirmation message

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                          message - the error message

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                          the application

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          Config getConfig()

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                          the config

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          Sql getSql()

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                          the sql instance

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                          Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                          warning - the warning message

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                          protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                          Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                          callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                          The result of the closure execution

                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#error(java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#error(java.lang.String) new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#error(java.lang.String) @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                    [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • + + + +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                          +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                          +class GroovyChange
                                                                                                                                                                                                                                                                                                                                          +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                                          Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                          Authors:
                                                                                                                                                                                                                                                                                                                                          Burt Beckwith
                                                                                                                                                                                                                                                                                                                                          Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                        • + + + + + + +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                            Property Detail

                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              Sql sql

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + + + + + + +
                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                            Constructor Detail

                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              GroovyChange()

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                              message - the confirmation message

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                              message - the error message

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                              the application

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              Config getConfig()

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                              the config

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              Sql getSql()

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                              the sql instance

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                              Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                              warning - the warning message

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                              protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                              Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                              callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                              The result of the closure execution

                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#finishInitialization() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#finishInitialization() new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#finishInitialization() @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                        [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                              +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                              +class GroovyChange
                                                                                                                                                                                                                                                                                                                                              +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                              Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                              Authors:
                                                                                                                                                                                                                                                                                                                                              Burt Beckwith
                                                                                                                                                                                                                                                                                                                                              Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                            • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                Property Detail

                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  Sql sql

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  GroovyChange()

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                  message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                  message - the error message

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                  the application

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  Config getConfig()

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                  the config

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  Sql getSql()

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                  the sql instance

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                  Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                  warning - the warning message

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                  protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                  Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                  callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                  The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#generateCheckSum() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#generateCheckSum() new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#generateCheckSum() @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                            [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                  +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                  +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                  +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                  Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                  Authors:
                                                                                                                                                                                                                                                                                                                                                  Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                  Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                    Property Detail

                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      Sql sql

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      GroovyChange()

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                      message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                      message - the error message

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                      the application

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      Config getConfig()

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                      the config

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      Sql getSql()

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                      the sql instance

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                      Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                      warning - the warning message

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                      protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                      Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                      callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                      The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#generateRollbackStatements(liquibase.database.Database) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#generateRollbackStatements(liquibase.database.Database) new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#generateRollbackStatements(liquibase.database.Database) @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • + + + +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                      +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                      +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                      +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                      Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                      Authors:
                                                                                                                                                                                                                                                                                                                                                      Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                      Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                    • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                        Property Detail

                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          Sql sql

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                        Constructor Detail

                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          GroovyChange()

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                          message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                          message - the error message

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                          the application

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          Config getConfig()

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                          the config

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          Sql getSql()

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                          the sql instance

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                          Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                          warning - the warning message

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                          protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                          Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                          callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                          The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#generateStatements(liquibase.database.Database) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#generateStatements(liquibase.database.Database) new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#generateStatements(liquibase.database.Database) @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                    [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • + + + +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                          +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                          +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                          +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                                                          Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                          Authors:
                                                                                                                                                                                                                                                                                                                                                          Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                          Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                            Property Detail

                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              Sql sql

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                            Constructor Detail

                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              GroovyChange()

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                              message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                              message - the error message

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                              the application

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              Config getConfig()

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                              the config

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              Sql getSql()

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                              the sql instance

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                              Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                              warning - the warning message

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                              protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                              Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                              callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                              The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getApplication() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getApplication() new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getApplication() @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                        [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                              +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                              +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                              +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                              Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                              Authors:
                                                                                                                                                                                                                                                                                                                                                              Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                              Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                            • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                Property Detail

                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  Sql sql

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                  message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                  message - the error message

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                  the application

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                  the config

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                  the sql instance

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                  Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                  warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                  protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                  Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                  callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                  The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getConfig() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getConfig() new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getConfig() @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                            [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                  +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                  +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                  +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                  Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                  Authors:
                                                                                                                                                                                                                                                                                                                                                                  Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                  Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                    Property Detail

                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      Sql sql

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                      message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                      message - the error message

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                      the application

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                      the config

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                      the sql instance

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                      Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                      warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                      protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                      Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                      callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                      The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getConfirmationMessage() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getConfirmationMessage() new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getConfirmationMessage() @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • + + + +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                      +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                      +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                      +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                      Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                      Authors:
                                                                                                                                                                                                                                                                                                                                                                      Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                      Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                        Property Detail

                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          Sql sql

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                        Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                          message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                          message - the error message

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                          the application

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                          the config

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                          the sql instance

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                          Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                          warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                          protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                          Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                          callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                          The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getConnection() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getConnection() new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getConnection() @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                    [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • + + + +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                          +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                          +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                          +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                                                                          Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                          Authors:
                                                                                                                                                                                                                                                                                                                                                                          Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                          Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                        • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                            Property Detail

                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              Sql sql

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                            Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                              message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                              message - the error message

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                              the application

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                              the config

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                              the sql instance

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                              Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                              warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                              protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                              Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                              callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                              The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getDatabaseConnection() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getDatabaseConnection() new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getDatabaseConnection() @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                                        [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                              +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                              +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                              +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                              Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                              Authors:
                                                                                                                                                                                                                                                                                                                                                                              Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                              Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                            • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                Property Detail

                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  Sql sql

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                  message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                  message - the error message

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                  the application

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                  the config

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                  the sql instance

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                  Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                  warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                  protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                  Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                  callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                  The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getSql() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getSql() new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#getSql() @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                            [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                  +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                  +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                  +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                  Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                  Authors:
                                                                                                                                                                                                                                                                                                                                                                                  Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                  Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                    Property Detail

                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      Sql sql

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                      message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                      message - the error message

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                      the application

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                      the config

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                      the sql instance

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                      Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                      warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                      protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                      Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                      callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                      The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#initClosure b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#initClosure new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#initClosure @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                                [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • + + + +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                      +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                      +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                      +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                      Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                      Authors:
                                                                                                                                                                                                                                                                                                                                                                                      Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                      Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                    • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                        Property Detail

                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          Sql sql

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                        Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                          message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                          message - the error message

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                          the application

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                          the config

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                          the sql instance

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                          Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                          warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                          protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                          Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                          callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                          The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#initClosureCalled b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#initClosureCalled new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#initClosureCalled @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                                    [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • + + + +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                          +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                          +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                          +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                                                                                          Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                          Authors:
                                                                                                                                                                                                                                                                                                                                                                                          Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                          Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                        • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                            Property Detail

                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              Sql sql

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                            Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                              message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                              message - the error message

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                              the application

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                              the config

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                              the sql instance

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                              Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                              warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                              protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                              Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                              callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                              The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#load(liquibase.parser.core.ParsedNode, liquibase.resource.ResourceAccessor) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#load(liquibase.parser.core.ParsedNode, liquibase.resource.ResourceAccessor) new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#load(liquibase.parser.core.ParsedNode, liquibase.resource.ResourceAccessor) @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                                                        [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                              +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                              +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                              +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                              Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                              Authors:
                                                                                                                                                                                                                                                                                                                                                                                              Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                              Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                            • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                  message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                  message - the error message

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                  the application

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                  the config

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                  the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                  Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                  warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                  protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                  Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                  callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                  The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#rollbackClosure b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#rollbackClosure new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#rollbackClosure @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                            [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                  +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                                  +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                                  +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                                  Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                                  Authors:
                                                                                                                                                                                                                                                                                                                                                                                                  Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                  Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                                    Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                      message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                      message - the error message

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                      the application

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                      the config

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                      the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                      Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                      warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                      protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                      Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                      callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                      The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#shouldRun() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#shouldRun() new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#shouldRun() @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                                                [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                      +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                                      +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                                      +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                      Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                                      Authors:
                                                                                                                                                                                                                                                                                                                                                                                                      Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                      Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                    • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                                        Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                                        Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                          message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                          message - the error message

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                          the application

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                          the config

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                          the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                          Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                          warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                          protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                          Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                          callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                          The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#sql b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#sql new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#sql @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                                                    [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                          +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                                          +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                                          +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                                                                                                          Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                                          Authors:
                                                                                                                                                                                                                                                                                                                                                                                                          Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                          Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                        • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                                            Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                                            Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                              message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                              message - the error message

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                              the application

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                              the config

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                              the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                              Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                              warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                              protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                              Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                              callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                              The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#sqlStatement(liquibase.statement.SqlStatement) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#sqlStatement(liquibase.statement.SqlStatement) new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#sqlStatement(liquibase.statement.SqlStatement) @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                                                                        [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                              +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                                              +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                                              +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                              Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                                              Authors:
                                                                                                                                                                                                                                                                                                                                                                                                              Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                              Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                            • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                  message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                  message - the error message

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                  the application

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                  the config

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                  the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                  Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                  warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                  protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                  Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                  callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                  The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#sqlStatements(java.util.List) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#sqlStatements(java.util.List) new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#sqlStatements(java.util.List) @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                            [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                  +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                                                  +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                                                  +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                                                  Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                                                  Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                  Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                  Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                    Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                      message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                      message - the error message

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                      the application

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                      the config

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                      the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                      Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                      warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                      protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                      Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                      callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                      The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#supportsRollback(liquibase.database.Database) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#supportsRollback(liquibase.database.Database) new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#supportsRollback(liquibase.database.Database) @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                                                                [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                      +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                                                      +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                                                      +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                      Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                                                      Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                      Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                      Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                    • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                        Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                        Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                          message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                          message - the error message

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                          the application

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                          the config

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                          the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                          Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                          warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                          protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                          callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                          The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#validate(liquibase.database.Database) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#validate(liquibase.database.Database) new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#validate(liquibase.database.Database) @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                                                                    [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                          +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                                                          +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                                                          +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                                                                                                                          Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                                                          Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                          Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                          Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                        • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                            Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                            Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                              message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                              message - the error message

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                              the application

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                              the config

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                              the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                              Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                              warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                              protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                              Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                              callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                              The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#validateClosure b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#validateClosure new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#validateClosure @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                                                                                        [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                              +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                                                              +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                                                              +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                              Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                                                              Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                              Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                              Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                            • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                  message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                  message - the error message

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                  the application

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                  the config

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                  the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                  Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                  warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                  protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                  callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                  The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#validateClosureCalled b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#validateClosureCalled new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#validateClosureCalled @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                            [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                  +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                                                                  +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                                                                  +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                                                                  Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                  Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                  Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                    Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                      message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                      message - the error message

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                      the application

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                      the config

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                      the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                      Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                      warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                      protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                      callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                      The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#validationErrors b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#validationErrors new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#validationErrors @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                                                                                [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                      +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                                                                      +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                                                                      +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                      Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                                                                      Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                      Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                      Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                        Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                        Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                          message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                          message - the error message

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                          the application

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                          the config

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                          the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                          the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                          Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                          statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                          warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                          protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                                                                          Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                          callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                                                                          Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                          The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#warn(java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#warn(java.lang.String) new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#warn(java.lang.String) @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                                                                                    [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                          +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                                                                          +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                                                                          +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                                                                                                                                          Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                                                                          Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                          Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                          Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                            Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                            Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                              message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                              message - the error message

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                              the application

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                              the config

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                              the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                              the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                              Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                              statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                              warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                              protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                                                                              Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                              callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                                                                              Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                              The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#warnings b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#warnings new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#warnings @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                                                                                                        [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                              +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                                                                              +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                                                                              +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                              Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                                                                              Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                              Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                              Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                  message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                  message - the error message

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                  the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                  the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                  the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                  the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                  statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                  warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                  callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                  The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#withNewTransaction(groovy.lang.Closure) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#withNewTransaction(groovy.lang.Closure) new file mode 100644 index 000000000000..96a3b02d8758 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChange.html#withNewTransaction(groovy.lang.Closure) @@ -0,0 +1,831 @@ + + + + + + + + + + + GroovyChange (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                            [Groovy] Class GroovyChange

                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GroovyChange +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +@liquibase.change.DatabaseChange(name: grailsChange, description: Adds creates a primary key out of an existing column or set of columns., priority: ChangeMetaData.PRIORITY_DEFAULT)
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +class GroovyChange
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +extends AbstractChange
                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Custom Groovy-based change.

                                                                                                                                                                                                                                                                                                                                                                                                                                                  Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      java.util.List allStatements

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure changeClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      boolean changeClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      java.lang.String checksumString

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      java.lang.String confirmationMessage

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      java.lang.String dataSourceName

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure initClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      boolean initClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure rollbackClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      groovy.lang.Closure validateClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      boolean validateClosureCalled

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      GroovyChange()

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      void confirm(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Overrides the confirmation message.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                      message - the confirmation message

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      void error(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a validation error.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                      message - the error message

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +void finishInitialization()

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +CheckSum generateCheckSum()

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                      the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                      the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +java.lang.String getConfirmationMessage()

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                      the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                      the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      protected boolean shouldRun()

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Whether the database executor is instance of LoggingExecutor

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      void sqlStatement(SqlStatement statement)

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds a statement to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      void sqlStatements(java.util.List statements)

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Called by the change or rollback closure. Adds multiple statements to be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                      statement - the statement

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +boolean supportsRollback(Database database)

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      void warn(java.lang.String warning)

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Called by the validate closure. Adds a warning message.

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                      warning - the warning message

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      protected void withNewTransaction(groovy.lang.Closure callable)

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Executes the grailsChange>change block within the context of a new transaction

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                      callable - The changeClosure to call
                                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                      The result of the closure execution

                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html new file mode 100644 index 000000000000..af2a6f95733c --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html @@ -0,0 +1,379 @@ + + + + + + + + + + + GroovyChangeLogParser (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                [Groovy] Class GroovyChangeLogParser

                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GroovyChangeLogParser +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +class GroovyChangeLogParser
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +extends AbstractChangeLogParser
                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                          GroovyChangeLogParser()

                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                          @groovy.transform.CompileDynamic +protected void setChangeLogProperties(java.util.Map changeLogProperties, ChangeLogParameters changeLogParameters)

                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +boolean supports(java.lang.String changeLogFile, ResourceAccessor resourceAccessor)

                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#GroovyChangeLogParser() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#GroovyChangeLogParser() new file mode 100644 index 000000000000..af2a6f95733c --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#GroovyChangeLogParser() @@ -0,0 +1,379 @@ + + + + + + + + + + + GroovyChangeLogParser (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                    [Groovy] Class GroovyChangeLogParser

                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GroovyChangeLogParser +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +class GroovyChangeLogParser
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +extends AbstractChangeLogParser
                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                            Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              GroovyChangeLogParser()

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              @groovy.transform.CompileDynamic +protected void setChangeLogProperties(java.util.Map changeLogProperties, ChangeLogParameters changeLogParameters)

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +boolean supports(java.lang.String changeLogFile, ResourceAccessor resourceAccessor)

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#applicationContext b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#applicationContext new file mode 100644 index 000000000000..af2a6f95733c --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#applicationContext @@ -0,0 +1,379 @@ + + + + + + + + + + + GroovyChangeLogParser (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                        [Groovy] Class GroovyChangeLogParser

                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GroovyChangeLogParser +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +class GroovyChangeLogParser
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +extends AbstractChangeLogParser
                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GroovyChangeLogParser()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @groovy.transform.CompileDynamic +protected void setChangeLogProperties(java.util.Map changeLogProperties, ChangeLogParameters changeLogParameters)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +boolean supports(java.lang.String changeLogFile, ResourceAccessor resourceAccessor)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#config b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#config new file mode 100644 index 000000000000..af2a6f95733c --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#config @@ -0,0 +1,379 @@ + + + + + + + + + + + GroovyChangeLogParser (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                            [Groovy] Class GroovyChangeLogParser

                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GroovyChangeLogParser +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +class GroovyChangeLogParser
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +extends AbstractChangeLogParser
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      GroovyChangeLogParser()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @groovy.transform.CompileDynamic +protected void setChangeLogProperties(java.util.Map changeLogProperties, ChangeLogParameters changeLogParameters)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +boolean supports(java.lang.String changeLogFile, ResourceAccessor resourceAccessor)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#parseToNode(java.lang.String, liquibase.changelog.ChangeLogParameters, liquibase.resource.ResourceAccessor) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#parseToNode(java.lang.String, liquibase.changelog.ChangeLogParameters, liquibase.resource.ResourceAccessor) new file mode 100644 index 000000000000..af2a6f95733c --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#parseToNode(java.lang.String, liquibase.changelog.ChangeLogParameters, liquibase.resource.ResourceAccessor) @@ -0,0 +1,379 @@ + + + + + + + + + + + GroovyChangeLogParser (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                [Groovy] Class GroovyChangeLogParser

                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GroovyChangeLogParser +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +class GroovyChangeLogParser
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +extends AbstractChangeLogParser
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          GroovyChangeLogParser()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @groovy.transform.CompileDynamic +protected void setChangeLogProperties(java.util.Map changeLogProperties, ChangeLogParameters changeLogParameters)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +boolean supports(java.lang.String changeLogFile, ResourceAccessor resourceAccessor)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#priority b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#priority new file mode 100644 index 000000000000..af2a6f95733c --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#priority @@ -0,0 +1,379 @@ + + + + + + + + + + + GroovyChangeLogParser (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [Groovy] Class GroovyChangeLogParser

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GroovyChangeLogParser +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +class GroovyChangeLogParser
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +extends AbstractChangeLogParser
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              GroovyChangeLogParser()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @groovy.transform.CompileDynamic +protected void setChangeLogProperties(java.util.Map changeLogProperties, ChangeLogParameters changeLogParameters)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +boolean supports(java.lang.String changeLogFile, ResourceAccessor resourceAccessor)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#setChangeLogProperties(java.util.Map, liquibase.changelog.ChangeLogParameters) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#setChangeLogProperties(java.util.Map, liquibase.changelog.ChangeLogParameters) new file mode 100644 index 000000000000..af2a6f95733c --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#setChangeLogProperties(java.util.Map, liquibase.changelog.ChangeLogParameters) @@ -0,0 +1,379 @@ + + + + + + + + + + + GroovyChangeLogParser (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [Groovy] Class GroovyChangeLogParser

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GroovyChangeLogParser +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +class GroovyChangeLogParser
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +extends AbstractChangeLogParser
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GroovyChangeLogParser()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @groovy.transform.CompileDynamic +protected void setChangeLogProperties(java.util.Map changeLogProperties, ChangeLogParameters changeLogParameters)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +boolean supports(java.lang.String changeLogFile, ResourceAccessor resourceAccessor)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#supports(java.lang.String, liquibase.resource.ResourceAccessor) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#supports(java.lang.String, liquibase.resource.ResourceAccessor) new file mode 100644 index 000000000000..af2a6f95733c --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogParser.html#supports(java.lang.String, liquibase.resource.ResourceAccessor) @@ -0,0 +1,379 @@ + + + + + + + + + + + GroovyChangeLogParser (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [Groovy] Class GroovyChangeLogParser

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • org.grails.plugins.databasemigration.liquibase.GroovyChangeLogParser +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +class GroovyChangeLogParser
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +extends AbstractChangeLogParser
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      GroovyChangeLogParser()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @groovy.transform.CompileDynamic +protected void setChangeLogProperties(java.util.Map changeLogProperties, ChangeLogParameters changeLogParameters)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @java.lang.Override +boolean supports(java.lang.String changeLogFile, ResourceAccessor resourceAccessor)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html new file mode 100644 index 000000000000..7a27e6d601aa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html @@ -0,0 +1,367 @@ + + + + + + + + + + + GroovyChangeLogSerializer (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [Groovy] Class GroovyChangeLogSerializer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • org.grails.plugins.databasemigration.liquibase.GroovyChangeLogSerializer +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    All Implemented Interfaces and Traits:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +class GroovyChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +extends java.lang.Object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +implements ChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Constructor Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Inherited Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Inherited Methods 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Methods inherited from className
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GroovyChangeLogSerializer()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @java.lang.Override +void append(ChangeSet changeSet, java.io.File changeLogFile)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @java.lang.Override +int getPriority()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @java.lang.Override +java.lang.String[] getValidFileExtensions()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @java.lang.Override +java.lang.String serialize(LiquibaseSerializable object, boolean pretty)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <T extends ChangeLogChild> @java.lang.Override +void write(java.util.List<T> changesets, java.io.OutputStream out)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#GroovyChangeLogSerializer() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#GroovyChangeLogSerializer() new file mode 100644 index 000000000000..7a27e6d601aa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#GroovyChangeLogSerializer() @@ -0,0 +1,367 @@ + + + + + + + + + + + GroovyChangeLogSerializer (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [Groovy] Class GroovyChangeLogSerializer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • org.grails.plugins.databasemigration.liquibase.GroovyChangeLogSerializer +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      All Implemented Interfaces and Traits:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +class GroovyChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +extends java.lang.Object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +implements ChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Constructor Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Inherited Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Inherited Methods 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Methods inherited from className
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          GroovyChangeLogSerializer()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +void append(ChangeSet changeSet, java.io.File changeLogFile)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +int getPriority()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +java.lang.String[] getValidFileExtensions()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @java.lang.Override +java.lang.String serialize(LiquibaseSerializable object, boolean pretty)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          <T extends ChangeLogChild> @java.lang.Override +void write(java.util.List<T> changesets, java.io.OutputStream out)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#append(liquibase.changelog.ChangeSet, java.io.File) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#append(liquibase.changelog.ChangeSet, java.io.File) new file mode 100644 index 000000000000..7a27e6d601aa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#append(liquibase.changelog.ChangeSet, java.io.File) @@ -0,0 +1,367 @@ + + + + + + + + + + + GroovyChangeLogSerializer (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [Groovy] Class GroovyChangeLogSerializer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • org.grails.plugins.databasemigration.liquibase.GroovyChangeLogSerializer +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        All Implemented Interfaces and Traits:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +class GroovyChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +extends java.lang.Object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +implements ChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Constructor Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Inherited Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Inherited Methods 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Methods inherited from className
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GroovyChangeLogSerializer()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @java.lang.Override +void append(ChangeSet changeSet, java.io.File changeLogFile)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @java.lang.Override +int getPriority()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @java.lang.Override +java.lang.String[] getValidFileExtensions()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @java.lang.Override +java.lang.String serialize(LiquibaseSerializable object, boolean pretty)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <T extends ChangeLogChild> @java.lang.Override +void write(java.util.List<T> changesets, java.io.OutputStream out)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#getPriority() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#getPriority() new file mode 100644 index 000000000000..7a27e6d601aa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#getPriority() @@ -0,0 +1,367 @@ + + + + + + + + + + + GroovyChangeLogSerializer (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [Groovy] Class GroovyChangeLogSerializer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • org.grails.plugins.databasemigration.liquibase.GroovyChangeLogSerializer +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          All Implemented Interfaces and Traits:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +class GroovyChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +extends java.lang.Object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +implements ChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Constructor Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Inherited Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Inherited Methods 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Methods inherited from className
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              GroovyChangeLogSerializer()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +void append(ChangeSet changeSet, java.io.File changeLogFile)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +int getPriority()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +java.lang.String[] getValidFileExtensions()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @java.lang.Override +java.lang.String serialize(LiquibaseSerializable object, boolean pretty)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              <T extends ChangeLogChild> @java.lang.Override +void write(java.util.List<T> changesets, java.io.OutputStream out)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#getValidFileExtensions() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#getValidFileExtensions() new file mode 100644 index 000000000000..7a27e6d601aa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#getValidFileExtensions() @@ -0,0 +1,367 @@ + + + + + + + + + + + GroovyChangeLogSerializer (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        [Groovy] Class GroovyChangeLogSerializer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • org.grails.plugins.databasemigration.liquibase.GroovyChangeLogSerializer +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            All Implemented Interfaces and Traits:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +class GroovyChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +extends java.lang.Object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +implements ChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Constructor Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Inherited Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Inherited Methods 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Methods inherited from className
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GroovyChangeLogSerializer()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @java.lang.Override +void append(ChangeSet changeSet, java.io.File changeLogFile)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @java.lang.Override +int getPriority()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @java.lang.Override +java.lang.String[] getValidFileExtensions()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @java.lang.Override +java.lang.String serialize(LiquibaseSerializable object, boolean pretty)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <T extends ChangeLogChild> @java.lang.Override +void write(java.util.List<T> changesets, java.io.OutputStream out)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#serialize(liquibase.serializer.LiquibaseSerializable, boolean) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#serialize(liquibase.serializer.LiquibaseSerializable, boolean) new file mode 100644 index 000000000000..7a27e6d601aa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#serialize(liquibase.serializer.LiquibaseSerializable, boolean) @@ -0,0 +1,367 @@ + + + + + + + + + + + GroovyChangeLogSerializer (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [Groovy] Class GroovyChangeLogSerializer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • org.grails.plugins.databasemigration.liquibase.GroovyChangeLogSerializer +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              All Implemented Interfaces and Traits:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +class GroovyChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +extends java.lang.Object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +implements ChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Constructor Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Inherited Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Inherited Methods 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Methods inherited from className
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GroovyChangeLogSerializer()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +void append(ChangeSet changeSet, java.io.File changeLogFile)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +int getPriority()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +java.lang.String[] getValidFileExtensions()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @java.lang.Override +java.lang.String serialize(LiquibaseSerializable object, boolean pretty)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  <T extends ChangeLogChild> @java.lang.Override +void write(java.util.List<T> changesets, java.io.OutputStream out)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#write(List, java.io.OutputStream) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#write(List, java.io.OutputStream) new file mode 100644 index 000000000000..7a27e6d601aa --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyChangeLogSerializer.html#write(List, java.io.OutputStream) @@ -0,0 +1,367 @@ + + + + + + + + + + + GroovyChangeLogSerializer (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [Groovy] Class GroovyChangeLogSerializer

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • org.grails.plugins.databasemigration.liquibase.GroovyChangeLogSerializer +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                All Implemented Interfaces and Traits:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +class GroovyChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +extends java.lang.Object
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +implements ChangeLogSerializer
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Constructor Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Inherited Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Inherited Methods 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Methods inherited from className
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    class java.lang.Objectjava.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GroovyChangeLogSerializer()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @java.lang.Override +void append(ChangeSet changeSet, java.io.File changeLogFile)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @java.lang.Override +int getPriority()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @java.lang.Override +java.lang.String[] getValidFileExtensions()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @java.lang.Override +java.lang.String serialize(LiquibaseSerializable object, boolean pretty)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <T extends ChangeLogChild> @java.lang.Override +void write(java.util.List<T> changesets, java.io.OutputStream out)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep.html new file mode 100644 index 000000000000..3f3ba22b2768 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep.html @@ -0,0 +1,340 @@ + + + + + + + + + + + GroovyDiffToChangeLogCommandStep (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [Groovy] Class GroovyDiffToChangeLogCommandStep

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • org.grails.plugins.databasemigration.liquibase.GroovyDiffToChangeLogCommandStep +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Field Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Fields 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ModifiersNameDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        static java.lang.String[] COMMAND_NAME
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Field Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        public static final java.lang.String[] COMMAND_NAME

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GroovyDiffToChangeLogCommandStep()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @java.lang.Override +java.lang.String[] defineCommandNames()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep.html#COMMAND_NAME b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep.html#COMMAND_NAME new file mode 100644 index 000000000000..3f3ba22b2768 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep.html#COMMAND_NAME @@ -0,0 +1,340 @@ + + + + + + + + + + + GroovyDiffToChangeLogCommandStep (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [Groovy] Class GroovyDiffToChangeLogCommandStep

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • org.grails.plugins.databasemigration.liquibase.GroovyDiffToChangeLogCommandStep +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Field Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Fields 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ModifiersNameDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            static java.lang.String[] COMMAND_NAME
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Field Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            public static final java.lang.String[] COMMAND_NAME

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GroovyDiffToChangeLogCommandStep()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @java.lang.Override +java.lang.String[] defineCommandNames()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep.html#GroovyDiffToChangeLogCommandStep() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep.html#GroovyDiffToChangeLogCommandStep() new file mode 100644 index 000000000000..3f3ba22b2768 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep.html#GroovyDiffToChangeLogCommandStep() @@ -0,0 +1,340 @@ + + + + + + + + + + + GroovyDiffToChangeLogCommandStep (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [Groovy] Class GroovyDiffToChangeLogCommandStep

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • org.grails.plugins.databasemigration.liquibase.GroovyDiffToChangeLogCommandStep +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Field Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Fields 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ModifiersNameDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                static java.lang.String[] COMMAND_NAME
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Field Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                public static final java.lang.String[] COMMAND_NAME

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GroovyDiffToChangeLogCommandStep()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @java.lang.Override +java.lang.String[] defineCommandNames()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep.html#defineCommandNames() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep.html#defineCommandNames() new file mode 100644 index 000000000000..3f3ba22b2768 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep.html#defineCommandNames() @@ -0,0 +1,340 @@ + + + + + + + + + + + GroovyDiffToChangeLogCommandStep (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [Groovy] Class GroovyDiffToChangeLogCommandStep

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • org.grails.plugins.databasemigration.liquibase.GroovyDiffToChangeLogCommandStep +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Field Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Fields 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ModifiersNameDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    static java.lang.String[] COMMAND_NAME
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Field Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    public static final java.lang.String[] COMMAND_NAME

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GroovyDiffToChangeLogCommandStep()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @java.lang.Override +java.lang.String[] defineCommandNames()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep.html#run(liquibase.command.CommandResultsBuilder) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep.html#run(liquibase.command.CommandResultsBuilder) new file mode 100644 index 000000000000..3f3ba22b2768 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyDiffToChangeLogCommandStep.html#run(liquibase.command.CommandResultsBuilder) @@ -0,0 +1,340 @@ + + + + + + + + + + + GroovyDiffToChangeLogCommandStep (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [Groovy] Class GroovyDiffToChangeLogCommandStep

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • org.grails.plugins.databasemigration.liquibase.GroovyDiffToChangeLogCommandStep +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Field Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Fields 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ModifiersNameDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        static java.lang.String[] COMMAND_NAME
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Field Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        public static final java.lang.String[] COMMAND_NAME

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GroovyDiffToChangeLogCommandStep()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @java.lang.Override +java.lang.String[] defineCommandNames()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep.html new file mode 100644 index 000000000000..54d756fdb3c3 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep.html @@ -0,0 +1,340 @@ + + + + + + + + + + + GroovyGenerateChangeLogCommandStep (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [Groovy] Class GroovyGenerateChangeLogCommandStep

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • org.grails.plugins.databasemigration.liquibase.GroovyGenerateChangeLogCommandStep +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Field Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Fields 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ModifiersNameDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            static java.lang.String[] COMMAND_NAME
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Field Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            public static final java.lang.String[] COMMAND_NAME

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GroovyGenerateChangeLogCommandStep()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @java.lang.Override +java.lang.String[] defineCommandNames()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep.html#COMMAND_NAME b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep.html#COMMAND_NAME new file mode 100644 index 000000000000..54d756fdb3c3 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep.html#COMMAND_NAME @@ -0,0 +1,340 @@ + + + + + + + + + + + GroovyGenerateChangeLogCommandStep (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [Groovy] Class GroovyGenerateChangeLogCommandStep

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • org.grails.plugins.databasemigration.liquibase.GroovyGenerateChangeLogCommandStep +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Field Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Fields 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ModifiersNameDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                static java.lang.String[] COMMAND_NAME
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Field Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                public static final java.lang.String[] COMMAND_NAME

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GroovyGenerateChangeLogCommandStep()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @java.lang.Override +java.lang.String[] defineCommandNames()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep.html#GroovyGenerateChangeLogCommandStep() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep.html#GroovyGenerateChangeLogCommandStep() new file mode 100644 index 000000000000..54d756fdb3c3 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep.html#GroovyGenerateChangeLogCommandStep() @@ -0,0 +1,340 @@ + + + + + + + + + + + GroovyGenerateChangeLogCommandStep (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [Groovy] Class GroovyGenerateChangeLogCommandStep

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • org.grails.plugins.databasemigration.liquibase.GroovyGenerateChangeLogCommandStep +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Field Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Fields 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ModifiersNameDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    static java.lang.String[] COMMAND_NAME
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Field Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    public static final java.lang.String[] COMMAND_NAME

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GroovyGenerateChangeLogCommandStep()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @java.lang.Override +java.lang.String[] defineCommandNames()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep.html#defineCommandNames() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep.html#defineCommandNames() new file mode 100644 index 000000000000..54d756fdb3c3 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep.html#defineCommandNames() @@ -0,0 +1,340 @@ + + + + + + + + + + + GroovyGenerateChangeLogCommandStep (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [Groovy] Class GroovyGenerateChangeLogCommandStep

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • org.grails.plugins.databasemigration.liquibase.GroovyGenerateChangeLogCommandStep +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Field Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Fields 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ModifiersNameDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        static java.lang.String[] COMMAND_NAME
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Field Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        public static final java.lang.String[] COMMAND_NAME

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GroovyGenerateChangeLogCommandStep()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @java.lang.Override +java.lang.String[] defineCommandNames()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep.html#run(liquibase.command.CommandResultsBuilder) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep.html#run(liquibase.command.CommandResultsBuilder) new file mode 100644 index 000000000000..54d756fdb3c3 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyGenerateChangeLogCommandStep.html#run(liquibase.command.CommandResultsBuilder) @@ -0,0 +1,340 @@ + + + + + + + + + + + GroovyGenerateChangeLogCommandStep (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [Groovy] Class GroovyGenerateChangeLogCommandStep

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • org.grails.plugins.databasemigration.liquibase.GroovyGenerateChangeLogCommandStep +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Field Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Fields 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ModifiersNameDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            static java.lang.String[] COMMAND_NAME
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Field Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            public static final java.lang.String[] COMMAND_NAME

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GroovyGenerateChangeLogCommandStep()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @java.lang.Override +java.lang.String[] defineCommandNames()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.1.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.1.html new file mode 100644 index 000000000000..00d7e580d4f1 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.1.html @@ -0,0 +1,281 @@ + + + + + + + + + + + GroovyPrecondition.1 (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [Groovy] Class GroovyPrecondition.1

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition.1 +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            class GroovyPrecondition.1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +extends Sql
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Constructor Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Methods 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type ParamsReturn TypeName and description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                protected voidcloseResources(java.sql.Connection c)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GroovyPrecondition.1()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                protected void closeResources(java.sql.Connection c)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.1.html#GroovyPrecondition.1() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.1.html#GroovyPrecondition.1() new file mode 100644 index 000000000000..00d7e580d4f1 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.1.html#GroovyPrecondition.1() @@ -0,0 +1,281 @@ + + + + + + + + + + + GroovyPrecondition.1 (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [Groovy] Class GroovyPrecondition.1

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition.1 +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                class GroovyPrecondition.1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +extends Sql
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Constructor Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Methods 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type ParamsReturn TypeName and description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    protected voidcloseResources(java.sql.Connection c)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GroovyPrecondition.1()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    protected void closeResources(java.sql.Connection c)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.1.html#closeResources(java.sql.Connection) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.1.html#closeResources(java.sql.Connection) new file mode 100644 index 000000000000..00d7e580d4f1 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.1.html#closeResources(java.sql.Connection) @@ -0,0 +1,281 @@ + + + + + + + + + + + GroovyPrecondition.1 (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [Groovy] Class GroovyPrecondition.1

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition.1 +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    class GroovyPrecondition.1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +extends Sql
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Constructor Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Methods Summary

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Methods 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type ParamsReturn TypeName and description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        protected voidcloseResources(java.sql.Connection c)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GroovyPrecondition.1()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        protected void closeResources(java.sql.Connection c)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#GroovyPrecondition() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#GroovyPrecondition() new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#GroovyPrecondition() @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#changeLog b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#changeLog new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#changeLog @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#changeSet b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#changeSet new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#changeSet @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#check(liquibase.database.Database, liquibase.changelog.DatabaseChangeLog, liquibase.changelog.ChangeSet, liquibase.changelog.visitor.ChangeExecListener) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#check(liquibase.database.Database, liquibase.changelog.DatabaseChangeLog, liquibase.changelog.ChangeSet, liquibase.changelog.visitor.ChangeExecListener) new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#check(liquibase.database.Database, liquibase.changelog.DatabaseChangeLog, liquibase.changelog.ChangeSet, liquibase.changelog.visitor.ChangeExecListener) @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#checkClosure b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#checkClosure new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#checkClosure @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#createDatabaseSnapshot(java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#createDatabaseSnapshot(java.lang.String) new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#createDatabaseSnapshot(java.lang.String) @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#ctx b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#ctx new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#ctx @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#database b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#database new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#database @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#fail(java.lang.String) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#fail(java.lang.String) new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#fail(java.lang.String) @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#getApplication() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#getApplication() new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#getApplication() @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#getConfig() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#getConfig() new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#getConfig() @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#getConnection() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#getConnection() new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#getConnection() @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#getDatabaseConnection() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#getDatabaseConnection() new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#getDatabaseConnection() @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#getSql() b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#getSql() new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#getSql() @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#load(liquibase.parser.core.ParsedNode, liquibase.resource.ResourceAccessor) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#load(liquibase.parser.core.ParsedNode, liquibase.resource.ResourceAccessor) new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#load(liquibase.parser.core.ParsedNode, liquibase.resource.ResourceAccessor) @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#name b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#name new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#name @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#resourceAccessor b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#resourceAccessor new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#resourceAccessor @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#serializedObjectNamespace b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#serializedObjectNamespace new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#serializedObjectNamespace @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#sql b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#sql new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#sql @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#validate(liquibase.database.Database) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#validate(liquibase.database.Database) new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#validate(liquibase.database.Database) @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#warn(liquibase.database.Database) b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#warn(liquibase.database.Database) new file mode 100644 index 000000000000..576367f336c6 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/GroovyPrecondition.html#warn(liquibase.database.Database) @@ -0,0 +1,594 @@ + + + + + + + + + + + GroovyPrecondition (Grails Database Migration Plugin 5.0.0) + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Package: org.grails.plugins.databasemigration.liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [Groovy] Class GroovyPrecondition

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • org.grails.plugins.databasemigration.liquibase.GroovyPrecondition +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @groovy.transform.CompileStatic
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +class GroovyPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +extends AbstractPrecondition
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Custom Groovy-based precondition.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Authors:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Burt Beckwith
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Kazuki YAMAMOTO

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Property Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                groovy.lang.Closure checkClosure

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                final java.lang.String name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                final java.lang.String serializedObjectNamespace

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sql sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Constructor Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GroovyPrecondition()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • + + +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Method Detail

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DatabaseSnapshot createDatabaseSnapshot(java.lang.String schemaName)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the check closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                schemaName - the schema name
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                a snapshot for the current database and schema name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                void fail(java.lang.String message)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the check closure as a shortcut to throw a PreconditionFailedException.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Parameters:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                message - the failure message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GrailsApplication getApplication()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut for the current application.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the application

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Config getConfig()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut for the current config.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the config

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                java.sql.Connection getConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut to get the real database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DatabaseConnection getDatabaseConnection()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Shortcut to get the (wrapper) database connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the connection or null if the database isn't set yet

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Sql getSql()

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Called from the change or rollback closure. Creates a Sql instance from the current connection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Returns:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                the sql instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/package-summary.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/package-summary.html new file mode 100644 index 000000000000..a77482f3db9f --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/liquibase/package-summary.html @@ -0,0 +1,240 @@ + + + + + +org.grails.plugins.databasemigration.liquibase (database-migration 5.0.0 API) + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Package org.grails.plugins.databasemigration.liquibase

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + diff --git a/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/package-summary.html b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/package-summary.html new file mode 100644 index 000000000000..b650bae012ba --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/org/grails/plugins/databasemigration/package-summary.html @@ -0,0 +1,202 @@ + + + + + +org.grails.plugins.databasemigration (database-migration 5.0.0 API) + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Package org.grails.plugins.databasemigration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + diff --git a/docs-legacy-database-migration/5.0.x/api/overview-summary.html b/docs-legacy-database-migration/5.0.x/api/overview-summary.html new file mode 100644 index 000000000000..4d634744afc2 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/overview-summary.html @@ -0,0 +1,142 @@ + + + + + +Overview (database-migration 5.0.0 API) + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Grails Database Migration Plugin 5.0.0

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Packages 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          PackageDescription
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          org.grails.plugins.databasemigration 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          org.grails.plugins.databasemigration.command 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          org.grails.plugins.databasemigration.liquibase 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + diff --git a/docs-legacy-database-migration/5.0.x/api/stylesheet.css b/docs-legacy-database-migration/5.0.x/api/stylesheet.css new file mode 100644 index 000000000000..06eb31a18740 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/api/stylesheet.css @@ -0,0 +1,2306 @@ +@charset "UTF-8"; + +/*! normalize.css v2.1.0 | MIT License | git.io/normalize */ +article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { + display: block +} + +audio, canvas, video { + display: inline-block +} + +audio:not([controls]) { + display: none; + height: 0 +} + +[hidden] { + display: none +} + +html { + font-family: sans-serif; + -webkit-text-size-adjust: 100%; + -ms-text-size-adjust: 100% +} + +body { + margin: 0 +} + +a:focus { + outline: thin dotted +} + +a:active, a:hover { + outline: 0 +} + +h1 { + font-size: 2em; + margin: .67em 0 +} + +abbr[title] { + border-bottom: 1px dotted +} + +b, strong { + font-weight: bold +} + +dfn { + font-style: italic +} + +hr { + -moz-box-sizing: content-box; + box-sizing: content-box; + height: 0 +} + +mark { + background: #ff0; + color: #000 +} + +code, kbd, pre, samp { + font-family: monospace, serif; + font-size: 1em +} + +pre { + white-space: pre-wrap +} + +q { + quotes: "ÂC" "ÂD" "Â8" "Â9" +} + +small { + font-size: 80% +} + +sub, sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline +} + +sup { + top: -0.5em +} + +sub { + bottom: -0.25em +} + +img { + border: 0 +} + +svg:not(:root) { + overflow: hidden +} + +figure { + margin: 0 +} + +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: .35em .625em .75em +} + +legend { + border: 0; + padding: 0 +} + +button, input, select, textarea { + font-family: inherit; + font-size: 100%; + margin: 0 +} + +button, input { + line-height: normal +} + +button, select { + text-transform: none +} + +button, html input[type="button"], input[type="reset"], input[type="submit"] { + -webkit-appearance: button; + cursor: pointer +} + +button[disabled], html input[disabled] { + cursor: default +} + +input[type="checkbox"], input[type="radio"] { + box-sizing: border-box; + padding: 0 +} + +input[type="search"] { + -webkit-appearance: textfield; + -moz-box-sizing: content-box; + -webkit-box-sizing: content-box; + box-sizing: content-box +} + +input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none +} + +button::-moz-focus-inner, input::-moz-focus-inner { + border: 0; + padding: 0 +} + +textarea { + overflow: auto; + vertical-align: top +} + +table { + border-collapse: collapse; + border-spacing: 0 +} + +@-ms-viewport { + width: device-width +} + +@media screen and (max-width: 400px) { + @-ms-viewport { + width: 320px + } +} + +.hidden { + display: none !important; + visibility: hidden !important +} + +.visible-xs { + display: none !important +} + +tr.visible-xs { + display: none !important +} + +th.visible-xs, td.visible-xs { + display: none !important +} + +@media (max-width: 767px) { + .visible-xs { + display: block !important + } + + tr.visible-xs { + display: table-row !important + } + + th.visible-xs, td.visible-xs { + display: table-cell !important + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-xs.visible-sm { + display: block !important + } + + tr.visible-xs.visible-sm { + display: table-row !important + } + + th.visible-xs.visible-sm, td.visible-xs.visible-sm { + display: table-cell !important + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-xs.visible-md { + display: block !important + } + + tr.visible-xs.visible-md { + display: table-row !important + } + + th.visible-xs.visible-md, td.visible-xs.visible-md { + display: table-cell !important + } +} + +@media (min-width: 1200px) { + .visible-xs.visible-lg { + display: block !important + } + + tr.visible-xs.visible-lg { + display: table-row !important + } + + th.visible-xs.visible-lg, td.visible-xs.visible-lg { + display: table-cell !important + } +} + +.visible-sm { + display: none !important +} + +tr.visible-sm { + display: none !important +} + +th.visible-sm, td.visible-sm { + display: none !important +} + +@media (max-width: 767px) { + .visible-sm.visible-xs { + display: block !important + } + + tr.visible-sm.visible-xs { + display: table-row !important + } + + th.visible-sm.visible-xs, td.visible-sm.visible-xs { + display: table-cell !important + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-sm { + display: block !important + } + + tr.visible-sm { + display: table-row !important + } + + th.visible-sm, td.visible-sm { + display: table-cell !important + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-sm.visible-md { + display: block !important + } + + tr.visible-sm.visible-md { + display: table-row !important + } + + th.visible-sm.visible-md, td.visible-sm.visible-md { + display: table-cell !important + } +} + +@media (min-width: 1200px) { + .visible-sm.visible-lg { + display: block !important + } + + tr.visible-sm.visible-lg { + display: table-row !important + } + + th.visible-sm.visible-lg, td.visible-sm.visible-lg { + display: table-cell !important + } +} + +.visible-md { + display: none !important +} + +tr.visible-md { + display: none !important +} + +th.visible-md, td.visible-md { + display: none !important +} + +@media (max-width: 767px) { + .visible-md.visible-xs { + display: block !important + } + + tr.visible-md.visible-xs { + display: table-row !important + } + + th.visible-md.visible-xs, td.visible-md.visible-xs { + display: table-cell !important + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-md.visible-sm { + display: block !important + } + + tr.visible-md.visible-sm { + display: table-row !important + } + + th.visible-md.visible-sm, td.visible-md.visible-sm { + display: table-cell !important + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-md { + display: block !important + } + + tr.visible-md { + display: table-row !important + } + + th.visible-md, td.visible-md { + display: table-cell !important + } +} + +@media (min-width: 1200px) { + .visible-md.visible-lg { + display: block !important + } + + tr.visible-md.visible-lg { + display: table-row !important + } + + th.visible-md.visible-lg, td.visible-md.visible-lg { + display: table-cell !important + } +} + +.visible-lg { + display: none !important +} + +tr.visible-lg { + display: none !important +} + +th.visible-lg, td.visible-lg { + display: none !important +} + +@media (max-width: 767px) { + .visible-lg.visible-xs { + display: block !important + } + + tr.visible-lg.visible-xs { + display: table-row !important + } + + th.visible-lg.visible-xs, td.visible-lg.visible-xs { + display: table-cell !important + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .visible-lg.visible-sm { + display: block !important + } + + tr.visible-lg.visible-sm { + display: table-row !important + } + + th.visible-lg.visible-sm, td.visible-lg.visible-sm { + display: table-cell !important + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .visible-lg.visible-md { + display: block !important + } + + tr.visible-lg.visible-md { + display: table-row !important + } + + th.visible-lg.visible-md, td.visible-lg.visible-md { + display: table-cell !important + } +} + +@media (min-width: 1200px) { + .visible-lg { + display: block !important + } + + tr.visible-lg { + display: table-row !important + } + + th.visible-lg, td.visible-lg { + display: table-cell !important + } +} + +.hidden-xs { + display: block !important +} + +tr.hidden-xs { + display: table-row !important +} + +th.hidden-xs, td.hidden-xs { + display: table-cell !important +} + +@media (max-width: 767px) { + .hidden-xs { + display: none !important + } + + tr.hidden-xs { + display: none !important + } + + th.hidden-xs, td.hidden-xs { + display: none !important + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-xs.hidden-sm { + display: none !important + } + + tr.hidden-xs.hidden-sm { + display: none !important + } + + th.hidden-xs.hidden-sm, td.hidden-xs.hidden-sm { + display: none !important + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-xs.hidden-md { + display: none !important + } + + tr.hidden-xs.hidden-md { + display: none !important + } + + th.hidden-xs.hidden-md, td.hidden-xs.hidden-md { + display: none !important + } +} + +@media (min-width: 1200px) { + .hidden-xs.hidden-lg { + display: none !important + } + + tr.hidden-xs.hidden-lg { + display: none !important + } + + th.hidden-xs.hidden-lg, td.hidden-xs.hidden-lg { + display: none !important + } +} + +.hidden-sm { + display: block !important +} + +tr.hidden-sm { + display: table-row !important +} + +th.hidden-sm, td.hidden-sm { + display: table-cell !important +} + +@media (max-width: 767px) { + .hidden-sm.hidden-xs { + display: none !important + } + + tr.hidden-sm.hidden-xs { + display: none !important + } + + th.hidden-sm.hidden-xs, td.hidden-sm.hidden-xs { + display: none !important + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-sm { + display: none !important + } + + tr.hidden-sm { + display: none !important + } + + th.hidden-sm, td.hidden-sm { + display: none !important + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-sm.hidden-md { + display: none !important + } + + tr.hidden-sm.hidden-md { + display: none !important + } + + th.hidden-sm.hidden-md, td.hidden-sm.hidden-md { + display: none !important + } +} + +@media (min-width: 1200px) { + .hidden-sm.hidden-lg { + display: none !important + } + + tr.hidden-sm.hidden-lg { + display: none !important + } + + th.hidden-sm.hidden-lg, td.hidden-sm.hidden-lg { + display: none !important + } +} + +.hidden-md { + display: block !important +} + +tr.hidden-md { + display: table-row !important +} + +th.hidden-md, td.hidden-md { + display: table-cell !important +} + +@media (max-width: 767px) { + .hidden-md.hidden-xs { + display: none !important + } + + tr.hidden-md.hidden-xs { + display: none !important + } + + th.hidden-md.hidden-xs, td.hidden-md.hidden-xs { + display: none !important + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-md.hidden-sm { + display: none !important + } + + tr.hidden-md.hidden-sm { + display: none !important + } + + th.hidden-md.hidden-sm, td.hidden-md.hidden-sm { + display: none !important + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-md { + display: none !important + } + + tr.hidden-md { + display: none !important + } + + th.hidden-md, td.hidden-md { + display: none !important + } +} + +@media (min-width: 1200px) { + .hidden-md.hidden-lg { + display: none !important + } + + tr.hidden-md.hidden-lg { + display: none !important + } + + th.hidden-md.hidden-lg, td.hidden-md.hidden-lg { + display: none !important + } +} + +.hidden-lg { + display: block !important +} + +tr.hidden-lg { + display: table-row !important +} + +th.hidden-lg, td.hidden-lg { + display: table-cell !important +} + +@media (max-width: 767px) { + .hidden-lg.hidden-xs { + display: none !important + } + + tr.hidden-lg.hidden-xs { + display: none !important + } + + th.hidden-lg.hidden-xs, td.hidden-lg.hidden-xs { + display: none !important + } +} + +@media (min-width: 768px) and (max-width: 991px) { + .hidden-lg.hidden-sm { + display: none !important + } + + tr.hidden-lg.hidden-sm { + display: none !important + } + + th.hidden-lg.hidden-sm, td.hidden-lg.hidden-sm { + display: none !important + } +} + +@media (min-width: 992px) and (max-width: 1199px) { + .hidden-lg.hidden-md { + display: none !important + } + + tr.hidden-lg.hidden-md { + display: none !important + } + + th.hidden-lg.hidden-md, td.hidden-lg.hidden-md { + display: none !important + } +} + +@media (min-width: 1200px) { + .hidden-lg { + display: none !important + } + + tr.hidden-lg { + display: none !important + } + + th.hidden-lg, td.hidden-lg { + display: none !important + } +} + +.visible-print { + display: none !important +} + +tr.visible-print { + display: none !important +} + +th.visible-print, td.visible-print { + display: none !important +} + +@media print { + .visible-print { + display: block !important + } + + tr.visible-print { + display: table-row !important + } + + th.visible-print, td.visible-print { + display: table-cell !important + } + + .hidden-print { + display: none !important + } + + tr.hidden-print { + display: none !important + } + + th.hidden-print, td.hidden-print { + display: none !important + } +} + +.container { + margin-right: auto; + margin-left: auto; + padding-left: 15px; + padding-right: 15px +} + +.container:before, .container:after { + content: " "; + display: table +} + +.container:after { + clear: both +} + +.row-fluid { + margin-left: -15px; + margin-right: -15px +} + +.row-fluid:before, .row-fluid:after { + content: " "; + display: table +} + +.row-fluid:after { + clear: both +} + +.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { + position: relative; + min-height: 1px; + padding-left: 15px; + padding-right: 15px +} + +.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11 { + float: left +} + +.col-xs-1 { + width: 8.333333333333332% +} + +.col-xs-2 { + width: 16.666666666666664% +} + +.col-xs-3 { + width: 25% +} + +.col-xs-4 { + width: 33.33333333333333% +} + +.col-xs-5 { + width: 41.66666666666667% +} + +.col-xs-6 { + width: 50% +} + +.col-xs-7 { + width: 58.333333333333336% +} + +.col-xs-8 { + width: 66.66666666666666% +} + +.col-xs-9 { + width: 75% +} + +.col-xs-10 { + width: 83.33333333333334% +} + +.col-xs-11 { + width: 91.66666666666666% +} + +.col-xs-12 { + width: 100% +} + +@media (min-width: 768px) { + .container { + max-width: 750px + } + + .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11 { + float: left + } + + .col-sm-1 { + width: 8.333333333333332% + } + + .col-sm-2 { + width: 16.666666666666664% + } + + .col-sm-3 { + width: 25% + } + + .col-sm-4 { + width: 33.33333333333333% + } + + .col-sm-5 { + width: 41.66666666666667% + } + + .col-sm-6 { + width: 50% + } + + .col-sm-7 { + width: 58.333333333333336% + } + + .col-sm-8 { + width: 66.66666666666666% + } + + .col-sm-9 { + width: 75% + } + + .col-sm-10 { + width: 83.33333333333334% + } + + .col-sm-11 { + width: 91.66666666666666% + } + + .col-sm-12 { + width: 100% + } + + .col-sm-push-1 { + left: 8.333333333333332% + } + + .col-sm-push-2 { + left: 16.666666666666664% + } + + .col-sm-push-3 { + left: 25% + } + + .col-sm-push-4 { + left: 33.33333333333333% + } + + .col-sm-push-5 { + left: 41.66666666666667% + } + + .col-sm-push-6 { + left: 50% + } + + .col-sm-push-7 { + left: 58.333333333333336% + } + + .col-sm-push-8 { + left: 66.66666666666666% + } + + .col-sm-push-9 { + left: 75% + } + + .col-sm-push-10 { + left: 83.33333333333334% + } + + .col-sm-push-11 { + left: 91.66666666666666% + } + + .col-sm-pull-1 { + right: 8.333333333333332% + } + + .col-sm-pull-2 { + right: 16.666666666666664% + } + + .col-sm-pull-3 { + right: 25% + } + + .col-sm-pull-4 { + right: 33.33333333333333% + } + + .col-sm-pull-5 { + right: 41.66666666666667% + } + + .col-sm-pull-6 { + right: 50% + } + + .col-sm-pull-7 { + right: 58.333333333333336% + } + + .col-sm-pull-8 { + right: 66.66666666666666% + } + + .col-sm-pull-9 { + right: 75% + } + + .col-sm-pull-10 { + right: 83.33333333333334% + } + + .col-sm-pull-11 { + right: 91.66666666666666% + } + + .col-sm-offset-1 { + margin-left: 8.333333333333332% + } + + .col-sm-offset-2 { + margin-left: 16.666666666666664% + } + + .col-sm-offset-3 { + margin-left: 25% + } + + .col-sm-offset-4 { + margin-left: 33.33333333333333% + } + + .col-sm-offset-5 { + margin-left: 41.66666666666667% + } + + .col-sm-offset-6 { + margin-left: 50% + } + + .col-sm-offset-7 { + margin-left: 58.333333333333336% + } + + .col-sm-offset-8 { + margin-left: 66.66666666666666% + } + + .col-sm-offset-9 { + margin-left: 75% + } + + .col-sm-offset-10 { + margin-left: 83.33333333333334% + } + + .col-sm-offset-11 { + margin-left: 91.66666666666666% + } +} + +@media (min-width: 992px) { + .container { + max-width: 970px + } + + .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11 { + float: left + } + + .col-md-1 { + width: 8.333333333333332% + } + + .col-md-2 { + width: 16.666666666666664% + } + + .col-md-3 { + width: 25% + } + + .col-md-4 { + width: 33.33333333333333% + } + + .col-md-5 { + width: 41.66666666666667% + } + + .col-md-6 { + width: 50% + } + + .col-md-7 { + width: 58.333333333333336% + } + + .col-md-8 { + width: 66.66666666666666% + } + + .col-md-9 { + width: 75% + } + + .col-md-10 { + width: 83.33333333333334% + } + + .col-md-11 { + width: 91.66666666666666% + } + + .col-md-12 { + width: 100% + } + + .col-md-push-0 { + left: auto + } + + .col-md-push-1 { + left: 8.333333333333332% + } + + .col-md-push-2 { + left: 16.666666666666664% + } + + .col-md-push-3 { + left: 25% + } + + .col-md-push-4 { + left: 33.33333333333333% + } + + .col-md-push-5 { + left: 41.66666666666667% + } + + .col-md-push-6 { + left: 50% + } + + .col-md-push-7 { + left: 58.333333333333336% + } + + .col-md-push-8 { + left: 66.66666666666666% + } + + .col-md-push-9 { + left: 75% + } + + .col-md-push-10 { + left: 83.33333333333334% + } + + .col-md-push-11 { + left: 91.66666666666666% + } + + .col-md-pull-0 { + right: auto + } + + .col-md-pull-1 { + right: 8.333333333333332% + } + + .col-md-pull-2 { + right: 16.666666666666664% + } + + .col-md-pull-3 { + right: 25% + } + + .col-md-pull-4 { + right: 33.33333333333333% + } + + .col-md-pull-5 { + right: 41.66666666666667% + } + + .col-md-pull-6 { + right: 50% + } + + .col-md-pull-7 { + right: 58.333333333333336% + } + + .col-md-pull-8 { + right: 66.66666666666666% + } + + .col-md-pull-9 { + right: 75% + } + + .col-md-pull-10 { + right: 83.33333333333334% + } + + .col-md-pull-11 { + right: 91.66666666666666% + } + + .col-md-offset-0 { + margin-left: 0 + } + + .col-md-offset-1 { + margin-left: 8.333333333333332% + } + + .col-md-offset-2 { + margin-left: 16.666666666666664% + } + + .col-md-offset-3 { + margin-left: 25% + } + + .col-md-offset-4 { + margin-left: 33.33333333333333% + } + + .col-md-offset-5 { + margin-left: 41.66666666666667% + } + + .col-md-offset-6 { + margin-left: 50% + } + + .col-md-offset-7 { + margin-left: 58.333333333333336% + } + + .col-md-offset-8 { + margin-left: 66.66666666666666% + } + + .col-md-offset-9 { + margin-left: 75% + } + + .col-md-offset-10 { + margin-left: 83.33333333333334% + } + + .col-md-offset-11 { + margin-left: 91.66666666666666% + } +} + +@media (min-width: 1200px) { + .container { + max-width: 1170px + } + + .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11 { + float: left + } + + .col-lg-1 { + width: 8.333333333333332% + } + + .col-lg-2 { + width: 16.666666666666664% + } + + .col-lg-3 { + width: 25% + } + + .col-lg-4 { + width: 33.33333333333333% + } + + .col-lg-5 { + width: 41.66666666666667% + } + + .col-lg-6 { + width: 50% + } + + .col-lg-7 { + width: 58.333333333333336% + } + + .col-lg-8 { + width: 66.66666666666666% + } + + .col-lg-9 { + width: 75% + } + + .col-lg-10 { + width: 83.33333333333334% + } + + .col-lg-11 { + width: 91.66666666666666% + } + + .col-lg-12 { + width: 100% + } + + .col-lg-push-0 { + left: auto + } + + .col-lg-push-1 { + left: 8.333333333333332% + } + + .col-lg-push-2 { + left: 16.666666666666664% + } + + .col-lg-push-3 { + left: 25% + } + + .col-lg-push-4 { + left: 33.33333333333333% + } + + .col-lg-push-5 { + left: 41.66666666666667% + } + + .col-lg-push-6 { + left: 50% + } + + .col-lg-push-7 { + left: 58.333333333333336% + } + + .col-lg-push-8 { + left: 66.66666666666666% + } + + .col-lg-push-9 { + left: 75% + } + + .col-lg-push-10 { + left: 83.33333333333334% + } + + .col-lg-push-11 { + left: 91.66666666666666% + } + + .col-lg-pull-0 { + right: auto + } + + .col-lg-pull-1 { + right: 8.333333333333332% + } + + .col-lg-pull-2 { + right: 16.666666666666664% + } + + .col-lg-pull-3 { + right: 25% + } + + .col-lg-pull-4 { + right: 33.33333333333333% + } + + .col-lg-pull-5 { + right: 41.66666666666667% + } + + .col-lg-pull-6 { + right: 50% + } + + .col-lg-pull-7 { + right: 58.333333333333336% + } + + .col-lg-pull-8 { + right: 66.66666666666666% + } + + .col-lg-pull-9 { + right: 75% + } + + .col-lg-pull-10 { + right: 83.33333333333334% + } + + .col-lg-pull-11 { + right: 91.66666666666666% + } + + .col-lg-offset-0 { + margin-left: 0 + } + + .col-lg-offset-1 { + margin-left: 8.333333333333332% + } + + .col-lg-offset-2 { + margin-left: 16.666666666666664% + } + + .col-lg-offset-3 { + margin-left: 25% + } + + .col-lg-offset-4 { + margin-left: 33.33333333333333% + } + + .col-lg-offset-5 { + margin-left: 41.66666666666667% + } + + .col-lg-offset-6 { + margin-left: 50% + } + + .col-lg-offset-7 { + margin-left: 58.333333333333336% + } + + .col-lg-offset-8 { + margin-left: 66.66666666666666% + } + + .col-lg-offset-9 { + margin-left: 75% + } + + .col-lg-offset-10 { + margin-left: 83.33333333333334% + } + + .col-lg-offset-11 { + margin-left: 91.66666666666666% + } +} + +.btn { + display: inline-block; + padding: 6px 12px; + margin-bottom: 0; + font-size: 14px; + font-weight: normal; + line-height: 1.428571429; + text-align: center; + vertical-align: middle; + cursor: pointer; + border: 1px solid transparent; + border-radius: 0; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none +} + +.btn:focus { + outline: thin dotted #333; + outline: 5px auto -webkit-focus-ring-color; + outline-offset: -2px +} + +.btn:hover, .btn:focus { + color: #333; + text-decoration: none +} + +.btn:active, .btn.active { + outline: 0; + background-image: none +} + +.btn.disabled, .btn[disabled], fieldset[disabled] .btn { + cursor: not-allowed; + pointer-events: none; + opacity: .65; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none +} + +.btn-default { + color: #333; + background-color: #fff; + border-color: #ccc +} + +.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default { + color: #333; + background-color: #ebebeb; + border-color: #adadad +} + +.btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default { + background-image: none +} + +.btn-default.disabled, .btn-default[disabled], fieldset[disabled] .btn-default, .btn-default.disabled:hover, .btn-default[disabled]:hover, fieldset[disabled] .btn-default:hover, .btn-default.disabled:focus, .btn-default[disabled]:focus, fieldset[disabled] .btn-default:focus, .btn-default.disabled:active, .btn-default[disabled]:active, fieldset[disabled] .btn-default:active, .btn-default.disabled.active, .btn-default[disabled].active, fieldset[disabled] .btn-default.active { + background-color: #fff; + border-color: #ccc +} + +.btn-primary { + color: #fff; + background-color: #428bca; + border-color: #357ebd +} + +.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary { + color: #fff; + background-color: #3276b1; + border-color: #285e8e +} + +.btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary { + background-image: none +} + +.btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active { + background-color: #428bca; + border-color: #357ebd +} + +.btn-warning { + color: #fff; + background-color: #f0ad4e; + border-color: #eea236 +} + +.btn-warning:hover, .btn-warning:focus, .btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning { + color: #fff; + background-color: #ed9c28; + border-color: #d58512 +} + +.btn-warning:active, .btn-warning.active, .open .dropdown-toggle.btn-warning { + background-image: none +} + +.btn-warning.disabled, .btn-warning[disabled], fieldset[disabled] .btn-warning, .btn-warning.disabled:hover, .btn-warning[disabled]:hover, fieldset[disabled] .btn-warning:hover, .btn-warning.disabled:focus, .btn-warning[disabled]:focus, fieldset[disabled] .btn-warning:focus, .btn-warning.disabled:active, .btn-warning[disabled]:active, fieldset[disabled] .btn-warning:active, .btn-warning.disabled.active, .btn-warning[disabled].active, fieldset[disabled] .btn-warning.active { + background-color: #f0ad4e; + border-color: #eea236 +} + +.btn-danger { + color: #fff; + background-color: #d9534f; + border-color: #d43f3a +} + +.btn-danger:hover, .btn-danger:focus, .btn-danger:active, .btn-danger.active, .open .dropdown-toggle.btn-danger { + color: #fff; + background-color: #d2322d; + border-color: #ac2925 +} + +.btn-danger:active, .btn-danger.active, .open .dropdown-toggle.btn-danger { + background-image: none +} + +.btn-danger.disabled, .btn-danger[disabled], fieldset[disabled] .btn-danger, .btn-danger.disabled:hover, .btn-danger[disabled]:hover, fieldset[disabled] .btn-danger:hover, .btn-danger.disabled:focus, .btn-danger[disabled]:focus, fieldset[disabled] .btn-danger:focus, .btn-danger.disabled:active, .btn-danger[disabled]:active, fieldset[disabled] .btn-danger:active, .btn-danger.disabled.active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger.active { + background-color: #d9534f; + border-color: #d43f3a +} + +.btn-success { + color: #fff; + background-color: #5cb85c; + border-color: #4cae4c +} + +.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success { + color: #fff; + background-color: #47a447; + border-color: #398439 +} + +.btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success { + background-image: none +} + +.btn-success.disabled, .btn-success[disabled], fieldset[disabled] .btn-success, .btn-success.disabled:hover, .btn-success[disabled]:hover, fieldset[disabled] .btn-success:hover, .btn-success.disabled:focus, .btn-success[disabled]:focus, fieldset[disabled] .btn-success:focus, .btn-success.disabled:active, .btn-success[disabled]:active, fieldset[disabled] .btn-success:active, .btn-success.disabled.active, .btn-success[disabled].active, fieldset[disabled] .btn-success.active { + background-color: #5cb85c; + border-color: #4cae4c +} + +.btn-info { + color: #fff; + background-color: #5bc0de; + border-color: #46b8da +} + +.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info { + color: #fff; + background-color: #39b3d7; + border-color: #269abc +} + +.btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info { + background-image: none +} + +.btn-info.disabled, .btn-info[disabled], fieldset[disabled] .btn-info, .btn-info.disabled:hover, .btn-info[disabled]:hover, fieldset[disabled] .btn-info:hover, .btn-info.disabled:focus, .btn-info[disabled]:focus, fieldset[disabled] .btn-info:focus, .btn-info.disabled:active, .btn-info[disabled]:active, fieldset[disabled] .btn-info:active, .btn-info.disabled.active, .btn-info[disabled].active, fieldset[disabled] .btn-info.active { + background-color: #5bc0de; + border-color: #46b8da +} + +.btn-link { + color: #428bca; + font-weight: normal; + cursor: pointer; + border-radius: 0 +} + +.btn-link, .btn-link:active, .btn-link[disabled], fieldset[disabled] .btn-link { + background-color: transparent; + -webkit-box-shadow: none; + box-shadow: none +} + +.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active { + border-color: transparent +} + +.btn-link:hover, .btn-link:focus { + color: #2a6496; + text-decoration: underline; + background-color: transparent +} + +.btn-link[disabled]:hover, fieldset[disabled] .btn-link:hover, .btn-link[disabled]:focus, fieldset[disabled] .btn-link:focus { + color: #999; + text-decoration: none +} + +.btn-lg { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px +} + +.btn-sm, .btn-xs { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px +} + +.btn-xs { + padding: 1px 5px +} + +.btn-block { + display: block; + width: 100%; + padding-left: 0; + padding-right: 0 +} + +.btn-block + .btn-block { + margin-top: 5px +} + +input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="button"].btn-block { + width: 100% +} + +.btn-default .caret { + border-top-color: #333 +} + +.btn-primary .caret, .btn-success .caret, .btn-warning .caret, .btn-danger .caret, .btn-info .caret { + border-top-color: #fff +} + +.dropup .btn-default .caret { + border-bottom-color: #333 +} + +.dropup .btn-primary .caret, .dropup .btn-success .caret, .dropup .btn-warning .caret, .dropup .btn-danger .caret, .dropup .btn-info .caret { + border-bottom-color: #fff +} + +.btn-group, .btn-group-vertical { + position: relative; + display: inline-block; + vertical-align: middle +} + +.btn-group > .btn, .btn-group-vertical > .btn { + position: relative; + float: left +} + +.btn-group > .btn:hover, .btn-group-vertical > .btn:hover, .btn-group > .btn:focus, .btn-group-vertical > .btn:focus, .btn-group > .btn:active, .btn-group-vertical > .btn:active, .btn-group > .btn.active, .btn-group-vertical > .btn.active { + z-index: 2 +} + +.btn-group > .btn:focus, .btn-group-vertical > .btn:focus { + outline: 0 +} + +.btn-group .btn + .btn, .btn-group .btn + .btn-group, .btn-group .btn-group + .btn, .btn-group .btn-group + .btn-group { + margin-left: -1px +} + +.btn-toolbar:before, .btn-toolbar:after { + content: " "; + display: table +} + +.btn-toolbar:after { + clear: both +} + +.btn-toolbar .btn-group { + float: left +} + +.btn-toolbar > .btn + .btn, .btn-toolbar > .btn-group + .btn, .btn-toolbar > .btn + .btn-group, .btn-toolbar > .btn-group + .btn-group { + margin-left: 5px +} + +.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { + border-radius: 0 +} + +.btn-group > .btn:first-child { + margin-left: 0 +} + +.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { + border-bottom-right-radius: 0; + border-top-right-radius: 0 +} + +.btn-group > .btn:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child) { + border-bottom-left-radius: 0; + border-top-left-radius: 0 +} + +.btn-group > .btn-group { + float: left +} + +.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0 +} + +.btn-group > .btn-group:first-child > .btn:last-child, .btn-group > .btn-group:first-child > .dropdown-toggle { + border-bottom-right-radius: 0; + border-top-right-radius: 0 +} + +.btn-group > .btn-group:last-child > .btn:first-child { + border-bottom-left-radius: 0; + border-top-left-radius: 0 +} + +.btn-group .dropdown-toggle:active, .btn-group.open .dropdown-toggle { + outline: 0 +} + +.btn-group-xs > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px; + padding: 1px 5px +} + +.btn-group-sm > .btn { + padding: 5px 10px; + font-size: 12px; + line-height: 1.5; + border-radius: 3px +} + +.btn-group-lg > .btn { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + border-radius: 6px +} + +.btn-group > .btn + .dropdown-toggle { + padding-left: 8px; + padding-right: 8px +} + +.btn-group > .btn-lg + .dropdown-toggle { + padding-left: 12px; + padding-right: 12px +} + +.btn-group.open .dropdown-toggle { + background: #f2f2f2 +} + +.btn .caret { + margin-left: 0 +} + +.btn-lg .caret { + border-width: 5px 5px 0; + border-bottom-width: 0 +} + +.dropup .btn-lg .caret { + border-width: 0 5px 5px +} + +.btn-group-vertical > .btn, .btn-group-vertical > .btn-group { + display: block; + float: none; + width: 100%; + max-width: 100% +} + +.btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after { + content: " "; + display: table +} + +.btn-group-vertical > .btn-group:after { + clear: both +} + +.btn-group-vertical > .btn-group > .btn { + float: none +} + +.btn-group-vertical > .btn + .btn, .btn-group-vertical > .btn + .btn-group, .btn-group-vertical > .btn-group + .btn, .btn-group-vertical > .btn-group + .btn-group { + margin-top: -1px; + margin-left: 0 +} + +.btn-group-vertical > .btn:not(:first-child):not(:last-child) { + border-radius: 0 +} + +.btn-group-vertical > .btn:first-child:not(:last-child) { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + border-bottom-left-radius: 0 +} + +.btn-group-vertical > .btn:last-child:not(:first-child) { + border-bottom-left-radius: 0; + border-top-right-radius: 0; + border-top-left-radius: 0 +} + +.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { + border-radius: 0 +} + +.btn-group-vertical > .btn-group:first-child > .btn:last-child, .btn-group-vertical > .btn-group:first-child > .dropdown-toggle { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0 +} + +.btn-group-vertical > .btn-group:last-child > .btn:first-child { + border-top-right-radius: 0; + border-top-left-radius: 0 +} + +.btn-group-justified { + display: table; + width: 100%; + table-layout: fixed; + border-collapse: separate +} + +.btn-group-justified .btn { + float: none; + display: table-cell; + width: 1% +} + +[data-toggle="buttons"] > .btn > input[type="radio"], [data-toggle="buttons"] > .btn > input[type="checkbox"] { + display: none +} + +.caret { + display: inline-block; + width: 0; + height: 0; + margin-left: 2px; + vertical-align: middle; + border-top: 4px solid #000; + border-right: 4px solid transparent; + border-left: 4px solid transparent; + border-bottom: 0 dotted; + content: "" +} + +.dropdown { + position: relative +} + +.dropdown-toggle:focus { + outline: 0 +} + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + min-width: 160px; + padding: 5px 0; + margin: 2px 0 0; + list-style: none; + font-size: 14px; + background-color: #fff; + border: 1px solid #ccc; + border: 1px solid rgba(0, 0, 0, 0.15); + border-radius: 0; + background-clip: padding-box +} + +.dropdown-menu.pull-right { + right: 0; + left: auto +} + +.dropdown-menu .divider { + height: 1px; + margin: 9px 0; + overflow: hidden; + background-color: #e5e5e5 +} + +.dropdown-menu > li > a { + font-size: 14px; + text-decoration: none; + display: block; + padding: 5px 20px; + clear: both; + font-weight: normal; + line-height: 1.428571429; + color: #333; + white-space: nowrap +} + +.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { + text-decoration: none; + color: #fff; + background-color: #428bca +} + +.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus { + color: #fff; + text-decoration: none; + outline: 0; + background-color: #428bca +} + +.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus { + color: #999 +} + +.dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus { + text-decoration: none; + background-color: transparent; + background-image: none; + filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); + cursor: not-allowed +} + +.open > .dropdown-menu { + display: block +} + +.open > a { + outline: 0 +} + +.dropdown-header { + display: block; + padding: 3px 20px; + font-size: 12px; + line-height: 1.428571429; + color: #999 +} + +.dropdown-backdrop { + position: fixed; + left: 0; + right: 0; + bottom: 0; + top: 0; + z-index: 990 +} + +.pull-right > .dropdown-menu { + right: 0; + left: auto +} + +.dropup .caret, .navbar-fixed-bottom .dropdown .caret { + border-top: 0 dotted; + border-bottom: 4px solid #000; + content: "" +} + +.dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu { + top: auto; + bottom: 100%; + margin-bottom: 1px +} + +@media (min-width: 768px) { + .navbar-right .dropdown-menu { + right: 0; + left: auto + } +} + +body, html { + font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; + margin: 0; + background: #ededed; + color: #343437; + line-height: 2em; + font-weight: 300; + font-size: .95em +} + +h1 { + font-size: 2.5em; + margin: .8em 0 +} + +body.center { + padding: 0 30px; + background: #FFF; + font-size: 1em +} + +ul li { + list-style-type: disc +} + +a { + color: #4290ad; + text-decoration: none; + font-weight: normal +} + +a:hover { + text-decoration: underline +} + +h1, h2, h3 { + font-weight: 300; + line-height: 1.2em +} + +.topNav, .bottomNav { + background: #f2f2f2; + margin: 0 -30px; + margin-bottom: 20px +} + +.topNav:before, .bottomNav:before, .topNav:after, .bottomNav:after { + content: " "; + display: table +} + +.topNav:after, .bottomNav:after { + clear: both +} + +.topNav ul.navList, .bottomNav ul.navList { + padding: 10px 20px; + margin: 0; + list-style-type: none +} + +.topNav ul.navList li, .bottomNav ul.navList li { + display: inline; + padding: 0 10px +} + +.topNav ul.navList li.navBarCell1Rev, .bottomNav ul.navList li.navBarCell1Rev { + font-weight: bold +} + +.bottomNav { + margin-top: 30px; + margin-bottom: 0 +} + +.aboutLanguage { + color: #BBB; + background: white; + text-align: center; + padding: 20px 0 +} + +.subNav { + padding-bottom: 10px; + margin-bottom: 10px; + border-bottom: 1px solid #EEE +} + +.subNav:before, .subNav:after { + content: " "; + display: table +} + +.subNav:after { + clear: both +} + +.subNav div:before, .subNav div:after { + content: " "; + display: table +} + +.subNav div:after { + clear: both +} + +.subNav ul.navList, .subNav ul { + font-size: .9em; + margin: 0; + padding: 00; + float: left; + list-style-type: none +} + +.subNav ul.navList li, .subNav ul li { + padding: 0 5px; + display: inline +} + +table.overviewSummary, .contentContainer ul li table { + width: 100%; + margin: 20px 0 +} + +table.overviewSummary caption, .contentContainer ul li table caption { + text-align: left; + font-weight: 100; + font-size: 1em; + float: left; + padding: 0 10px; + margin-top: 10px; + background: #db4800; + color: white +} + +table.overviewSummary tr th, .contentContainer ul li table tr th { + padding: 10px; + font-weight: bold; + font-size: 1em; + text-align: left +} + +table.overviewSummary tr td, .contentContainer ul li table tr td { + vertical-align: top; + font-size: .9em; + padding: 5px 10px; + border-top: 1px solid #EEE +} + +table.overviewSummary tbody > tr:nth-child(odd) > td, .contentContainer ul li table tbody > tr:nth-child(odd) > td { + background-color: #f9f9f9 +} + +body.left { + padding-top: 10px +} + +body.left h1, body.left h2 { + display: inline; + text-align: left; + font-weight: 100; + font-size: 1em; + margin: 0 10px; + padding: 3px 10px; + margin-top: 10px; + background: #db4800; + color: white; + line-height: 40px +} + +body.left .indexHeader { + margin: 0; + padding: 0 15px; + font-size: .9em +} + +body.left ul { + list-style-type: none; + margin: 0; + padding: 0 +} + +body.left ul li { + margin: 0; + padding: 0 +} + +body.left ul li a { + display: block; + padding: 0 15px; + text-decoration: none +} + +body.left ul li a:hover { + text-decoration: underline +} + +.contentContainer .header ul, .contentContainer ul.blockList { + padding: 0 +} + +.contentContainer .header ul > li, .contentContainer ul.blockList > li { + list-style-type: none +} + +.contentContainer ul.inheritance { + margin-left: 0; + padding-left: 0 +} + +.contentContainer ul.inheritance li { + list-style-type: none +} + +.contentContainer ul.inheritance ul.inheritance { + padding-left: 20px +} + +.contentContainer hr { + border: 0 none; + border-top: 1px solid #EEE; + margin-top: 30px; + margin-botom: 0 +} + +ul.blockList ul.blockList, ul.blockList ul.blockListLast { + border: 1px solid #EEE; + margin: 20px 0; + padding: 0 20px +} + +ul.blockList ul.blockList h4, ul.blockList ul.blockListLast h4, ul.blockList ul.blockList h3, ul.blockList ul.blockListLast h3 { + font-size: 1em; + font-weight: bold; + line-height: 2em; + text-indent: 10px; + border-bottom: 1px solid #EEE; + margin: 0 -20px; + padding: 5px 0; + background: #f2f2f2 +} + +ul.blockList ul.blockList li, ul.blockList ul.blockListLast li { + list-style-type: none +} + +ul.horizontal { + list-style-type: none; + padding: 0; + margin: 0; + font-size: .9em +} + +ul.horizontal li { + display: inline +} + +span.strong { + font-weight: bold +} + +a span.strong { + font-weight: normal +} \ No newline at end of file diff --git a/docs-legacy-database-migration/5.0.x/index.html b/docs-legacy-database-migration/5.0.x/index.html new file mode 100644 index 000000000000..83fce431d477 --- /dev/null +++ b/docs-legacy-database-migration/5.0.x/index.html @@ -0,0 +1,3884 @@ + + + + + + + +Grails Database Migration Plugin + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          1. Introduction to the Database Migration Plugin

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The Database Migration plugin helps you manage database changes while developing Grails applications. The plugin uses the Liquibase library.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Using this plugin (and Liquibase in general) adds some structure and process to managing database changes. It will help avoid inconsistencies, communication issues, and other problems with ad-hoc approaches.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Database migrations are represented in text form, either using a Groovy DSL or native Liquibase XML, in one or more changelog files. This approach makes it natural to maintain the changelog files in source control and also works well with branches. Changelog files can include other changelog files, so often developers create hierarchical files organized with various schemes. One popular approach is to have a root changelog named changlog.groovy (or changelog.xml) and to include a changelog per feature/branch that includes multiple smaller changelogs. Once the feature is finished and merged into the main development tree/trunk the changelog files can either stay as they are or be merged into one large file. Use whatever approach makes sense for your applications, but keep in mind that there are many options available for changelog management.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Individual changes have an ID that should be globally unique, although they also include the username of the user making the change, making the combination of ID and username unique (although technically the ID, username, and changelog location are the "unique key").

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          As you make changes in your code (typically domain classes) that require changes in the database, you add a new change set to the changelog. Commit the code changes along with the changelog additions, and the other developers on your team will get both when they update from source control. Once they apply the new changes their code and development database will be in sync with your changes. Likewise when you deploy to a QA, a staging server, or production, you’ll run the un-run changes that correspond to the code updates to being that environment’s database in sync. Liquibase keeps track of previously executed changes so there’s no need to think about what has and hasn’t been run yet.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Scripts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Your primary interaction with the plugin will be using the provided scripts. For the most part these correspond to the many Liquibase commands that are typically executed directly from the commandline or with its Ant targets, but there are also a few Grails-specific scripts that take advantage of the information available from the GORM mappings.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          All the scripts start with dbm- to ensure that they’re unique and don’t clash with scripts from Grails or other plugins.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          2. Getting Started

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The first step is to add a dependency for the plugin in build.gradle:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          buildscript {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   dependencies {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +      ...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +      classpath 'org.grails.plugins:database-migration:5.0.0'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +dependencies {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   ...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +     implementation 'org.grails.plugins:database-migration:5.0.0'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          It is also recommended to add a direct dependency to liquibase because Spring Boot overrides the one provided by this plugin

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          dependencies {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   ...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +     implementation 'org.liquibase:liquibase-core:4.19.0'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          You should also tell Gradle about the migrations folder. If using Grails 4, make sure the configuration below is BEFORE the +dependencies configuration, so that the sourceSets declaration takes effect.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          sourceSets {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +    main {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +        resources {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +            srcDir 'grails-app/migrations'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Typical initial workflow

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Next you’ll need to create an initial changelog. You can use Liquibase XML or the plugin’s Groovy DSL for individual files. You can even mix and match; Groovy files can include other Groovy files and Liquibase XML files (but XML files can’t include Groovy files).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Depending on the state of your database and code, you have two options; either create a changelog from the database or create it from your domain classes. The decision tends to be based on whether you prefer to design the database and adjust the domain classes to work with it, or to design your domain classes and use Hibernate to create the corresponding database structure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          To create a changelog from the database, use the dbm-generate-changelog script:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-generate-changelog changelog.groovy
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          or

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-generate-changelog changelog.xml
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          depending on whether you prefer the Groovy DSL or XML. The filename is relative to the changelog base folder, which defaults to grails-app/migrations.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +If you use the XML format (or use a non-default Groovy filename), be sure to change the name of the file in application.groovy so dbm-update and other scripts find the file: +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails.plugin.databasemigration.changelogFileName = 'changelog.xml'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Since the database is already correct, run the dbm-changelog-sync script to record that the changes have already been applied:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-changelog-sync
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Running this script is primarily a no-op except that it records the execution(s) in the Liquibase DATABASECHANGELOG table.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          To create a changelog from your domain classes, use the dbm-generate-gorm-changelog script:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-generate-gorm-changelog changelog.groovy
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          or

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-generate-gorm-changelog changelog.xml
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          If you haven’t created the database yet, run the dbm-update script to create the corresponding tables:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-update
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          or the dbm-changelog-sync script if the database is already in sync with your code:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-changelog-sync
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Source control

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Now you can commit the changelog and the corresponding application code to source control. Other developers can then update and synchronize their databases, and start doing migrations themselves.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          3. Configuration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          There are a few configuration options for the plugin. All configurations are prefixed with grails.plugin.databasemigration:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + +++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          PropertyDefaultMeaning

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          changelogLocation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails-app/migrations

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          the folder containing the main changelog file (which can include one or more other files)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          changelogFileName

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          changelog.groovy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          the name of the main changelog file

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          changelogProperties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          none

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          a map of properties to use for property substitution in Groovy DSL changelogs

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          contexts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          none

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be run

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          dbDocLocation

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          target/dbdoc

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          the directory where the output from the dbm-db-doc script is written

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          dbDocController.enabled

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          true in dev mode

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          whether the /dbdoc/ url is accessible at runtime

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          dropOnStart

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          false

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          if true then drops all tables before auto-running migrations (if updateOnStart is true)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          updateOnStart

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          false

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          if true then changesets from the specified list of names will be run at startup

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          updateOnStartFileName

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          none

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          the file name (relative to changelogLocation) to run at startup if updateOnStart is true

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          updateOnStartDefaultSchema

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          none

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          the default schema to use when running auto-migrate on start

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          updateOnStartContexts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          none

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be run

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          updateAllOnStart

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          false

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          if true then changesets from the specified list of names will be run at startup for all dataSources. Useful for Grails Multitenancy with Multiple Databases (same db schema)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          autoMigrateScripts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [RunApp]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          the scripts when running auto-migrate. Useful to run auto-migrate during test phase with: [RunApp, TestApp]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          excludeObjects

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          none

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          A comma-delimited list of database object names to ignore while performing a dbm-gorm-diff or dbm-generate-gorm-changelog

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          includeObjects

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          none

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          A comma-delimited list of database object names to look for while performing a dbm-gorm-diff or dbm-generate-gorm-changelog

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          databaseChangeLogTableName

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          databasechangelog

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          the Liquibase changelog record table name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          databaseChangeLogLockTableName

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          databasechangeloglock

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          the Liquibase lock table name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +All the above configs can be used for multiple datasources +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Multiple DataSource Example:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          If secondary dataSource named "second" is configured in application.yml

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          dataSource:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +    pooled: true
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +    jmxExport: true
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +    driverClassName: org.h2.Driver
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +    username: sa
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +    password:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +    dbCreate: none
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +    url: jdbc:h2:file:./multipleFirstDb
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +    logSql: true
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +    formatSql: true
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +dataSources:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +    second:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +        pooled: true
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +        jmxExport: true
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +        driverClassName: org.h2.Driver
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +        username: sa
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +        password:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +        dbCreate: none
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +        url: jdbc:h2:file:./multipleSecondDb
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The configuration for this data source would be:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails.plugin.databasemigration.reports.updateOnStart = true
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +grails.plugin.databasemigration.reports.changelogFileName = changelog-second.groovy
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The configuration for all data sources with same db schema would be:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails.plugin.databasemigration.updateAllOnStart = true
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +grails.plugin.databasemigration.changelogFileName = changelog.groovy
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          4. General Usage

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          After creating the initial changelog, the typical workflow will be along the lines of:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            make domain class changes that affect the schema

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            add changes to the changelog for them

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            backup your database in case something goes wrong

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            run grails dbm-update to update your development environment (or wherever you’re applying the changes)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            check the updated domain class(es) and changelog(s) into source control

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          1. +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            When running migration scripts on non-development databases, it’s important that you backup the database before running the migration in case anything goes wrong. You could also make a copy of the database and run the script against that, and if there’s a problem the real database will be unaffected.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          2. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          3. +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Setting the dbCreate setting to "none" is recommended when executing the dbm migration commands. Otherwise you might run into troubles and the commands could not be executed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          4. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          To create the changelog additions, you can either manually create the changes or with the dbm-gorm-diff script (you can also use the dbm-diff script but it’s far less convenient and requires a 2nd temporary database).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          You have a few options with dbm-gorm-diff:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dbm-gorm-diff will dump to the console if no filename is specified, so you can copy/paste from there

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if you include the --add parameter when running the script with a filename it will register an include for the filename in the main changelog for you

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Regardless of which approach you use, be sure to inspect generated changes and adjust as necessary.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          4.1. Autorun on start

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Since Liquibase maintains a record of changes that have been applied, you can avoid manually updating the database by taking advantage of the plugin’s auto-run feature. By default this is disabled, but you can enable it by adding

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails.plugin.databasemigration.updateOnStart = true
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          to application.groovy. In addition you must specify the file containing changes; specify the name using the updateOnStartFileName property, e.g.:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails.plugin.databasemigration.updateOnStartFileName = 'changelog.groovy'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Since changelogs can contain changelogs you’ll most often just specify the root changelog, changelog.groovy by convention. Any changes that haven’t been executed (in the specified file(s) or files included by them) will be run in the order specified.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          You may optionally limit the plugin’s auto-run feature to run only specific contexts. If this configuration parameter is empty or omitted, all contexts will be run.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails.plugin.databasemigration.updateOnStartContexts = ['context1,context2']
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          You can be notified when migration are run (for example to do some work before and/or after the migrations execute) by registering a "callback" class as a Spring bean. The class can have any name and package and doesn’t have to implement any interface since its methods will be called using Groovy duck-typing.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The bean name is "migrationCallbacks" and there are currently three callback methods supported (all are optional):

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            beforeStartMigration will be called (if it exists) for each datasource before any migrations have run; the method will be passed a single argument, the Liquibase Database for that datasource

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            onStartMigration will be called (if it exists) for each migration script; the method will be passed three arguments, the Liquibase Database, the Liquibase instance, and the changelog file name

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            afterMigrations will be called (if it exists) for each datasource after all migrations have run; the method will be passed a single argument, the Liquibase Database for that datasource

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          An example class will look like this:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          package com.mycompany.myapp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +import liquibase.Liquibase
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +import liquibase.database.Database
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +class MigrationCallbacks {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   void beforeStartMigration(Database Database) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +      ...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   void onStartMigration(Database database, Liquibase liquibase, String changelogName) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +      ...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   void afterMigrations(Database Database) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +      ...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Register it in resources.groovy:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          import com.mycompany.myapp.MigrationCallbacks
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +beans = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   migrationCallbacks(MigrationCallbacks)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          5. Groovy Changes

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          In addition to the built-in Liquibase changes (see the documentation for what’s available) you can also make database changes using Groovy code (as long as you’re using the Groovy DSL file format). These changes use the grailsChange tag name and are contained in a changeSet tag like standard built-in tags.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          There are four supported inner tags and two callable methods (to override the default confirmation message and checksum value).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          5.1. General format

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          This is the general format of a Groovy-based change; all inner tags and methods are optional:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          databaseChangeLog = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   changeSet(author: '...', id: '...') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +      grailsChange {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +         init {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +             // arbitrary initialization code; note that no
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +             // database or connection is available
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +         }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +         validate {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +            // can call warn(String message) to log a warning
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +            // or error(String message) to stop processing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +         }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +         change {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +            // arbitrary code; make changes directly and/or return a
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +            // SqlStatement using the sqlStatement(SqlStatement sqlStatement)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +            // method or multiple with sqlStatements(List sqlStatements)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +            confirm 'change confirmation message'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +         }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +         rollback {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +            // arbitrary code; make rollback changes directly and/or
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +            // return a SqlStatement using the sqlStatement(SqlStatement sqlStatement)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +            // method or multiple with sqlStatements(List sqlStatements)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +            confirm 'rollback confirmation message'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +         }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +         confirm 'confirmation message'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +         checkSum 'override value for checksum'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +      }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          5.2. Available variables

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          These variables are available throughout the change closure:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            changeSet - the current Liquibase ChangeSet instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            resourceAccessor - the current Liquibase ResourceAccessor instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ctx - the Spring ApplicationContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            application - the GrailsApplication

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The change and rollback closures also have the following available:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            database - the current Liquibase Database instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            databaseConnection - the current Liquibase DatabaseConnection instance, which is a wrapper around the JDBC Connection (but doesn’t implement the Connection interface)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            connection - the real JDBC Connection instance (a shortcut for database.connection.wrappedConnection)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            sql - a groovy.sql.Sql instance which uses the current connection and can be used for arbitrary queries and updates

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          init

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          This is where any optional initialization should happen. You can’t access the database from this closure.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          validate

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          If there are any necessary validation checks before executing changes or rollbacks they should be done here. You can log warnings by calling warn(String message) and stop processing by calling error(String message). It may make more sense to use one or more preConditions instead of directly validating here.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          change

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          All migration changes are done in the change closure. You can make changes directly (using the sql instance or the connection) and/or return one or more SqlStatements. You can call sqlStatement(SqlStatement statement) multiple times to register instances to be run. You can also call the sqlStatements(statements) method with an array or list of instances to be run.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          rollback

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          All rollback changes are done in the rollback closure. You can make changes directly (using the sql instance or the connection) and/or return one or more SqlStatements. You can call sqlStatement(SqlStatement statement) multiple times to register instances to be run. You can also call the sqlStatements(statements) method with an array or list of instances to be run.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          confirm

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The confirm(String message) method is used to specify the confirmation message to be shown. The default is "Executed GrailsChange" and it can be overridden in the change or rollback closures to allow phase-specific messages or outside of both closures to use the same message for the update and rollback phase.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          checkSum

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The checksum for the change will be generated automatically, but if you want to override the value that gets hashed you can specify it with the checkSum(String value) method.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          6. Groovy Preconditions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          In addition to the built-in Liquibase preconditions (see the documentation for what’s available) you can also specify preconditions using Groovy code (as long as you’re using the Groovy DSL file format). These changes use the grailsPrecondition tag name and are contained in the databaseChangeLog tag or in a changeSet tag like standard built-in tags.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          6.1. General format

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          This is the general format of a Groovy-based precondition:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          databaseChangeLog = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   changeSet(author: '...', id: '...') {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +      preConditions {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +         grailsPrecondition {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +            check {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +               // use an assertion
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +               assert x == x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +               // use an assertion with an error message
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +               assert y == y : 'value cannot be 237'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +               // call the fail method
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +               if (x != x) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +                  fail 'x != x'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +               }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +               // throw an exception (the fail method is preferred)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +               if (y != y) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +                  throw new RuntimeException('y != y')
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +               }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +         }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +      }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          As you can see there are a few ways to indicate that a precondition wasn’t met:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            use a simple assertion

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            use an assertion with a message

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            call the fail(String message) method (throws a PreconditionFailedException)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            throw an exception (shouldn’t be necessary - use assert or fail() instead)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          6.2. Available variables

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            database - the current Liquibase Database instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            databaseConnection - the current Liquibase DatabaseConnection instance, which is a wrapper around the JDBC Connection (but doesn’t implement the Connection interface)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            connection - the real JDBC Connection instance (a shortcut for database.connection.wrappedConnection)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            sql - a groovy.sql.Sql instance which uses the current connection and can be used for arbitrary queries and updates

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            resourceAccessor - the current Liquibase ResourceAccessor instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ctx - the Spring ApplicationContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            application - the GrailsApplication

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            changeSet - the current Liquibase ChangeSet instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            changeLog - the current Liquibase DatabaseChangeLog instance

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          6.3. Utility methods

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            createDatabaseSnapshotGenerator() - retrieves the DatabaseSnapshotGenerator for the current Database

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            createDatabaseSnapshot(String schemaName = null) - creates a DatabaseSnapshot for the current Database (and schema if specified)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          7. GORM Support

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The plugin’s support for GORM is one feature that differentiates it from using Liquibase directly. Typically, when using Liquibase you make changes to a database yourself, and then create changesets manually, or use a diff script to compare your updated database to one that hasn’t been updated yet. This is a decent amount of work and is rather error-prone. It’s easy to forget some changes that aren’t required but help performance, for example creating an index on a foreign key when using MySQL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          create-drop, create, and update

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          On the other end of the spectrum, Hibernate’s create-drop mode (or create) will create a database that matches your domain model, but it’s destructive since all previous data is lost when it runs. This works well in the very early stages of development but gets frustrating quickly. Unfortunately Hibernate’s update mode seems like a good compromise since it only makes changes to your existing schema, but it’s very limited in what it will do. It’s very pessimistic and won’t make any changes that could lose data. So it will add new tables and columns, but won’t drop anything. If you remove a not-null domain class property you’ll find you can’t insert anymore since the column is still there. And it will create not-null columns as nullable since otherwise existing data would be invalid. It won’t even widen a column e.g. from VARCHAR(100) to VARCHAR(200).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          dbm-gorm-diff

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The plugin provides a script that will compare your GORM current domain model with a database that you specify, and the result is a Liquibase changeset - dbm-gorm-diff. This is the same changeset you would get if you exported your domain model to a scratch database and diffed it with the other database, but it’s more convenient.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          So a good workflow would be:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            make whatever domain class changes you need (add new ones, delete unneeded ones, add/change/remove properties, etc.)

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            once your tests pass, and you’re ready to commit your changes to source control, run the script to generate the changeset that will bring your database back in line with your code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            add the changeset to an existing changelog file, or use the include tag to include the whole file

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            run the changeset on your functional test database

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            assuming your functional tests pass, check everything in as one commit

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            the other members of your team will get both the code and database changes when they next update, and will know to run the update script to sync their database with the latest code

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            once you’re ready to deploy to QA for testing (or staging or production), you can run all the un-run changes since the last deployment

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          dbm-generate-gorm-changelog

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The dbm-generate-gorm-changelog script is useful for when you want to switch from create-drop mode to doing proper migrations. It’s not very useful if you already have a database that’s in sync with your code, since you can just use the dbm-generate-changelog script that creates a changelog from your database.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          8. DbDoc Controller

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          You can use the dbm-db-doc script to generate static HTML files to view changelog information, but another option is to use the DbDocController at runtime. By default this controller is mapped to /appname/dbdoc/ but this can be customized with UrlMappings like any controller.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          You probably don’t want to expose this information to all of your application’s users so by default the controller is only enabled in the development environment. But you can enable or disable it for any environment in application.groovy with the dbDocController.enabled config option. For example to enable for all environments (be sure to guard the URL with a security plugin in prod):

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails.plugin.databasemigration.dbDocController.enabled = true
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          or to enable in the production environment:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          environments {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   production {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +      grails.plugin.databasemigration.dbDocController.enabled = true
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +   ...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9. Reference

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.1. Diff Scripts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.1.1. dbm-diff

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Compares two databases and creates a changelog that will make the changes required to bring them into sync.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Executes against the database configured in application.[yml|groovy] for the current environment (defaults to dev) and another configured datasource in application.[yml|groovy].

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          If a filename parameter is specified then the output will be written to the named file, otherwise it will be written to the console. If the filename ends with .groovy a Groovy DSL file will be created, otherwise a standard XML file will be created.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          File are written to the migrations folder, so specify the filename relative to the migrations folder (grails-app/migrations by default).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-diff <<otherEnv>> <<filename>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>> --add
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            otherEnv - The name of the environment to compare to

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the output file to write to. If not specified output is written to the console

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            add - If specified add an include in the root changelog file referencing the new file

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - If provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the defaultSchema and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-diff "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.1.2. dbm-gorm-diff

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Diffs GORM classes against a database and generates a changelog XML or Groovy DSL file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Creates a Groovy DSL file if the filename is specified and it ends with .groovy. If another extension is specified it creates a standard Liquibase XML file, and if no filename is specified it writes to the console.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          File are written to the migrations folder, so specify the filename relative to the migrations folder (grails-app/migrations by default).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Similar to dbm-diff but diffs the current configuration based on the application’s domain classes with the database configured in application.[yml|groovy] for the current environment (defaults to dev).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Doesn’t modify any existing files - you need to manually merge the output into the changeset along with any necessary modifications.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          You can configure database objects to be ignored by this script - either in the GORM classes or in the target database. For example you may want domain objects that are transient, or you may have externally-managed tables, keys, etc. that you want left alone by the diff script. The configuration name for these ignored objects is grails.plugin.databasemigration.ignoredObjects, whose value is a list of strings.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-gorm-diff <<filename>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>> --add
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none .

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the output file to write to. If not specified output is written to the console

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            add - if specified add an include in the root changelog file referencing the new file

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the defaultSchema and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-gorm-diff "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.2. Documentation Scripts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.2.1. dbm-db-doc

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Generates Javadoc-like documentation based on current database and change log.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Writes to the folder specified by the destination parameter, or to the grails.plugin.databasemigration.dbDocLocation configuration option (defaults to target/dbdoc).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-db-doc <<destination>> --contexts=<<contexts>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none .

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            destination - The path to write to

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be included

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the contexts and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-db-doc "--contexts=<<contexts>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.3. Maintenance Scripts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.3.1. dbm-add-migration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Adds a template migration file to your project and to the changelog file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          This script provides a template in which to place your migration behaviour code, whether +Grails code or raw SQL.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-add-migration <<migrationName>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            migrationName - The name of the migration - will be used as a filename and the default migration id.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +This script only supports .groovy-style migrations at the moment. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.3.2. dbm-changelog-sync-sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Writes the SQL that will mark all changes as executed in the database to STDOUT or a file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Generates the SQL statements for the Liquibase DATABASECHANGELOG control table.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-changelog-sync-sql <<filename>> --contexts=<<contexts>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the output file to write to. If not specified output is written to the console

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be included

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the contexts, defaultSchema, and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-changelog-sync "--contexts=<<contexts>>" "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter if the data source is configured as reports underneath the dataSources key in application.[yml|groovy] +the suffix of reports will be used as the parameter value. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.3.3. dbm-changelog-sync

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Mark all changes as executed in the database.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Registers all changesets as having been run in the Liquibase control table. This is useful when the changes have already been applied, for example if you’ve just created a changelog from your database using the dbm-generate-changelog script.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-changelog-sync --contexts=<<contexts>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be included

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - If provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the contexts, defaultSchema, and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-changelog-sync "--contexts=<<contexts>>" "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.3.4. dbm-changelog-to-groovy

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Converts a Liquibase XML changelog file to a Groovy DSL file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          If the Groovy file name isn’t specified the name and location will be the same as the original XML file with a .groovy extension.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-changelog-to-groovy [xml_file_name] [groovy_file_name]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            xml_file_name - The name and path of the XML file to convert

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            groovy_file_name - The name and path of the Groovy file

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.3.5. dbm-clear-checksums

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Removes current checksums from database. On next run checksums will be recomputed.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-clear-checksums --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-clear-checksums  "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.3.6. dbm-create-changelog

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Creates an empty changelog file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Creates a new empty file instead of generating the file from the database (using dbm-generate-changelog) or your GORM classes (using dbm-generate-gorm-changelog).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-create-changelog <<filename>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the output file to write to

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource creating a file named changelog-<<dataSource>>.groovy if a filename is not given. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-create-changelog "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.3.7. dbm-drop-all

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Drops all database objects owned by the user.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-drop-all <<schemaNames>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            schemaNames - A comma-delimited list of schema names to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use if the schemaNames parameter isn’t present

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the defaultSchema and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-drop-all "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.3.8. dbm-list-locks

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Lists who currently has locks on the database changelog to STDOUT or a file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-list-locks <<filename>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the output file to write to. If not specified output is written to the console

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the defaultSchema and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-list-locks "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.3.9. dbm-list-tags

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Lists the tags in the current database.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-list-tags --defaultSchema=<<defaultSchema>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the defaultSchema parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-tag "--defaultSchema=<<defaultSchema>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.3.10. dbm-mark-next-changeset-ran

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Mark the next change set as executed in the database.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          If a filename is specified, writes the SQL that will perform the update that file but doesn’t update.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-mark-next-changeset-ran <<filename>> --contexts=<<contexts>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the output file to write to

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be run

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the contexts, defaultSchema, and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-mark-next-changeset-ran "--contexts=<<contexts>>" "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.3.11. dbm-register-changelog

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Adds an include for the specified changelog to the main changelog.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-register-changelog <<filename>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the changelog file to include.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource using changelog-<<dataSource>>.groovy if a filename is not given. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-diff  "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy] +the suffix of reports will be used as the parameter value. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.3.12. dbm-release-locks

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Releases all locks on the database changelog.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-release-locks --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the defaultSchema and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-release-locks "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.3.13. dbm-status

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Outputs count or list of unrun change sets to STDOUT or a file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-status <<filename>> --verbose=<<verbose>> --contexts=<<contexts>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the output file to write to. If not specified output is written to the console

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            verbose - If true (the default) the changesets are listed; if false only the count is displayed

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be included

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the verbose, contexts, defaultSchema and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-status "--verbose=<<verbose>>" "--contexts=<<contexts>>" "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.3.14. dbm-tag

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Adds a tag to mark the current database state.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Useful for future rollbacks to a specific tag (e.g. using the dbm-rollback script).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-tag <<tagName>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            tagName - The name of the tag to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the defaultSchema and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-tag "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.3.15. dbm-validate

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Checks the changelog for errors.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Prints any validation messages to the console.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-validate --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-validate "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.4. Rollback Scripts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.4.1. dbm-future-rollback-sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Writes SQL to roll back the database to the current state after the changes in the changeslog have been applied to STDOUT or a file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-future-rollback-sql <<filename>> --contexts=<<contexts>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none .

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the output file to write to. If not specified output is written to the console

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be included

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the contexts, defaultSchema, and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-future-rollback-sql "--contexts=<<contexts>>" "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.4.2. dbm-generate-changelog

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Generates an initial changelog XML or Groovy DSL file from the database.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Creates a Groovy DSL file if the filename is specified and it ends with .groovy. If another extension is specified it creates a standard Liquibase XML file, and if no filename is specified it writes to the console.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          File are written to the migrations folder, so specify the filename relative to the migrations folder (grails-app/migrations by default).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Executes against the database configured in application.[yml|groovy] for the current environment (defaults to dev).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-generate-changelog <<filename>> --diffTypes=<<diffTypes>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>> --add
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none .

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the output file to write to. If not specified output is written to the console

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            diffTypes - A comma-delimited list of change types to include - see the documentation for what types are available

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            add - if specified add an include in the root changelog file referencing the new file

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the diffTypes, defaultSchema, and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-generate-changelog "--diffTypes=<<diffTypes>>" "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.4.3. dbm-generate-gorm-changelog

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Generates an initial changelog XML or Groovy DSL file from current GORM classes.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Creates a Groovy DSL file if the filename is specified and it ends with .groovy. If another extension is specified it creates a standard Liquibase XML file, and if no filename is specified it writes to the console.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          File are written to the migrations folder, so specify the filename relative to the migrations folder (grails-app/migrations by default).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Executes against the database configured in DataSource.groovy for the current environment (defaults to dev).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-generate-gorm-changelog <<filename>> --dataSource=<<dataSource>> --add
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none .

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the output file to write to. If not specified output is written to the console

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            add - if specified add an include in the root changelog file referencing the new file

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-generate-gorm-changelog  "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.4.4. dbm-rollback-count-sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Writes the SQL to roll back the specified number of change sets to STDOUT or a file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-rollback-count-sql <<number>> <<filename>> --contexts=<<contexts>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            number - The number of changesets to roll back

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the output file to write to. If not specified output is written to the console

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be included

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the contexts, defaultSchema, and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-rollback-count-sql "--contexts=<<contexts>>" "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.4.5. dbm-rollback-count

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Rolls back the specified number of change sets

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-rollback-count <<number>> --contexts=<<contexts>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            number - The number of changesets to roll back

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be run

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the contexts, defaultSchema, and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-rollback-count "--contexts=<<contexts>>" "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.4.6. dbm-rollback-sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Writes SQL to roll back the database to the state it was in when the tag was applied to STDOUT or a file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Requires that the named tag exists. You can create tags with the dbm-tag script.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-rollback-sql <<tagName>> <<filename>> --contexts=<<contexts>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            tagName - The name of the tag to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the output file to write to. If not specified output is written to the console

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be included

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the contexts, defaultSchema, and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-rollback-sql "--contexts=<<contexts>>" "--defaultSchema=<<defaultSchema>>" --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.4.7. dbm-rollback-to-date-sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Writes SQL to roll back the database to the state it was in at the given date/time to STDOUT or a file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          You can specify just the date, or the date and time. The date format must be yyyy-MM-dd and the time format must be HH:mm:ss.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-rollback-to-date-sql <<date>> <<time>> <<filename>> --contexts=<<contexts>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            date - The rollback date

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            time - The rollback time

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the output file to write to. If not specified output is written to the console

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be included

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the contexts, defaultSchema, dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-rollback-to-date-sql "--contexts=<<contexts>>" "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], +the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.4.8. dbm-rollback-to-date

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Rolls back the database to the state it was in at the given date/time.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          You can specify just the date, or the date and time. The date format must be yyyy-MM-dd and the time format must be HH:mm:ss.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-rollback-to-date <<date>> <<time>> --contexts=<<contexts>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            date - The rollback date

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            time - The rollback time

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be included

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the contexts, defaultSchema, and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-rollback-to-date "--contexts=<<contexts>>" "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.4.9. dbm-rollback

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Rolls back the database to the state it was in when the tag was applied.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Requires that the named tag exists. You can create tags with the dbm-tag script.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-rollback <<tagName>> --contexts=<<contexts>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            tagName - The name of the tag to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be run

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the contexts, defaultSchema, and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-rollback "--contexts=<<contexts>>" "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.5. Update Scripts

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.5.1. dbm-previous-changeset-sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Writes the SQL to STDOUT or a file for the specified number of previous changesets whether they have run or not.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Generates SQL for the specifed number of changeSets from the changelog. Executes against the database configured in application.[yml|groovy] for the current environment (defaults to dev).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-previous-changeset-sql <<number>> <<filename>> --skip=<<skip>> --contexts=<<contexts>> --defaultSchema=<<defaultSchema>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            number - The number of un-run changesets to run

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the output file to write to. If not specified output is written to the console

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            skip - The number of changesets to skip if you want to exclude recent ones

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be run

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the contexts and defaultSchema parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-update-count-sql "--contexts=<<contexts>>" "--defaultSchema=<<defaultSchema>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.5.2. dbm-update-count-sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Writes the SQL that will partially update a database to STDOUT or a file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Generates SQL for the specifed number of changeSets from the changelog. Executes against the database configured in application.[yml|groovy] for the current environment (defaults to dev).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          This is useful for inspecting the generated SQL before running an update, or to generate SQL which can be tuned before running manually.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-update-count-sql <<number>> <<filename>> --contexts=<<contexts>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            number - The number of un-run changesets to run

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the output file to write to. If not specified output is written to the console

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be run

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the contexts, defaultSchema, and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-update-count-sql "--contexts=<<contexts>>" "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.5.3. dbm-update-count

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Partially updates a database.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Runs the specifed number of un-run changesets from the Changelog. Executes against the database configured in application.[yml|groovy] for the current environment (defaults to dev).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-update-count <<number>> --contexts=<<contexts>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            number - The number of un-run changesets to run

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be run

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the contexts, defaultSchema, dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-update-count "--contexts=<<contexts>>" "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.5.4. dbm-update-sql

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Writes the SQL that will update the database to the current version to STDOUT or a file.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Generates SQL for all un-run changeSets from the changelog. Executes against the database configured in application.[yml|groovy] for the current environment (defaults to dev).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          This is useful for inspecting the generated SQL before running an update, or to generate SQL which can be tuned before running manually.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-update-sql <<filename>> --contexts=<<contexts>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none .

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            filename - The path to the output file to write to. If not specified output is written to the console

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be run

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the contexts, defaultSchema, and dataSource parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-update-sql "--contexts=<<contexts>>" "--defaultSchema=<<defaultSchema>>" --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          9.5.5. dbm-update

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Purpose
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Updates a database to the current version.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Description
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Runs all un-run changeSets from the changelog. Executes against the database configured in application.[yml|groovy] for the current environment (defaults to dev).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Usage:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails <<environment>> dbm-update --contexts=<<contexts>> --defaultSchema=<<defaultSchema>> --dataSource=<<dataSource>>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Required arguments: none .

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Optional arguments:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contexts - A comma-delimited list of context names. If specified, only changesets tagged with one of the context names will be run

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            defaultSchema - The default schema name to use

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +Note that the contexts and defaultSchema parameter name and value must be quoted if executed in Windows, e.g. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          grails dbm-update "--contexts=<<contexts>>" "--defaultSchema=<<defaultSchema>>" "--dataSource=<<dataSource>>"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + + + +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + +For the dataSource parameter, if the data source is configured as reports underneath the dataSources key in application.[yml|groovy], the value should be reports. +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          --dataSource=reports
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          + + + \ No newline at end of file diff --git a/docs-legacy-gorm/1.0.0.M1/rx/rest-client/manual/associations/embedded.html b/docs-legacy-gorm/1.0.0.M1/rx/rest-client/manual/associations/embedded.html index 7b5525598c3b..3bf93eea0b1a 100644 --- a/docs-legacy-gorm/1.0.0.M1/rx/rest-client/manual/associations/embedded.html +++ b/docs-legacy-gorm/1.0.0.M1/rx/rest-client/manual/associations/embedded.html @@ -6,11 +6,11 @@ Untitled - + - +